[PATCH] Add ntp_adjtime on Alpha

Jakub Jelinek jakub@redhat.com
Tue Jan 7 16:23:00 GMT 2003


Hi!

ntp_adjtime is missing on Alpha. The following patch fixes this.

2003-01-07  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/alpha/adjtime.c (ntp_adjtime): New weak
	alias.

--- libc/sysdeps/unix/sysv/linux/alpha/adjtime.c.jj	2002-07-29 15:15:01.000000000 +0200
+++ libc/sysdeps/unix/sysv/linux/alpha/adjtime.c	2003-01-07 18:46:42.000000000 +0100
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 2000, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 2000, 2002, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -191,5 +191,6 @@ __adjtimex_tv64 (struct timex *tx)
 
 strong_alias (__adjtimex_tv64, __adjtimex_internal);
 strong_alias (__adjtimex_tv64, __adjtimex_tv64p);
+weak_alias (__adjtimex_tv64, ntp_adjtime);
 versioned_symbol (libc, __adjtimex_tv64, __adjtimex, GLIBC_2_1);
 versioned_symbol (libc, __adjtimex_tv64p, adjtimex, GLIBC_2_1);

	Jakub



More information about the Libc-hacker mailing list