Update.
* include/time.h: Add libc_hidden_proto for __nanosleep. * sysdeps/generic/nanosleep.c: Add libc_hidden_def for __nanosleep. * sysdeps/mach/nanosleep.c: Likewise. * sysdeps/unix/sysv/aix/nanosleep.c: Likewise. * sysdeps/unix/sysv/linux/syscalls.list: Add __GI___nanosleep alias.
This commit is contained in:
parent
245eab025f
commit
f7f7f8150a
@ -1,5 +1,11 @@
|
|||||||
2002-12-31 Ulrich Drepper <drepper@redhat.com>
|
2002-12-31 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* include/time.h: Add libc_hidden_proto for __nanosleep.
|
||||||
|
* sysdeps/generic/nanosleep.c: Add libc_hidden_def for __nanosleep.
|
||||||
|
* sysdeps/mach/nanosleep.c: Likewise.
|
||||||
|
* sysdeps/unix/sysv/aix/nanosleep.c: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/syscalls.list: Add __GI___nanosleep alias.
|
||||||
|
|
||||||
* libio/libioP.h: Add libc_hidden_proto for _IO_list_lock,
|
* libio/libioP.h: Add libc_hidden_proto for _IO_list_lock,
|
||||||
_IO_list_unlock, and _IO_list_resetlock.
|
_IO_list_unlock, and _IO_list_resetlock.
|
||||||
* libio/genops.c: Add libc_hidden_def for _IO_list_lock,
|
* libio/genops.c: Add libc_hidden_def for _IO_list_lock,
|
||||||
|
@ -75,6 +75,7 @@ extern long int __tzname_max (void);
|
|||||||
|
|
||||||
extern int __nanosleep (__const struct timespec *__requested_time,
|
extern int __nanosleep (__const struct timespec *__requested_time,
|
||||||
struct timespec *__remaining);
|
struct timespec *__remaining);
|
||||||
|
libc_hidden_proto(__nanosleep)
|
||||||
extern int __getdate_r (__const char *__string, struct tm *__resbufp);
|
extern int __getdate_r (__const char *__string, struct tm *__resbufp);
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "atomic.h"
|
#include "atomic.h"
|
||||||
|
|
||||||
|
|
||||||
#if !defined NOT_IN_libc
|
#ifndef NOT_IN_libc
|
||||||
|
|
||||||
/* The next two functions are similar to pthread_setcanceltype() but
|
/* The next two functions are similar to pthread_setcanceltype() but
|
||||||
more specialized for the use in the cancelable functions like write().
|
more specialized for the use in the cancelable functions like write().
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
/* Copyright (C) 1996, 1997, 2002 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -31,5 +31,6 @@ __libc_nanosleep (const struct timespec *requested_time,
|
|||||||
stub_warning (nanosleep)
|
stub_warning (nanosleep)
|
||||||
|
|
||||||
weak_alias (__libc_nanosleep, __nanosleep)
|
weak_alias (__libc_nanosleep, __nanosleep)
|
||||||
|
libc_hidden_def (__nanosleep)
|
||||||
weak_alias (__libc_nanosleep, nanosleep)
|
weak_alias (__libc_nanosleep, nanosleep)
|
||||||
#include <stub-tag.h>
|
#include <stub-tag.h>
|
||||||
|
@ -50,4 +50,5 @@ __nanosleep (const struct timespec *requested_time,
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
libc_hidden_def (__nanosleep)
|
||||||
weak_alias (__nanosleep, nanosleep)
|
weak_alias (__nanosleep, nanosleep)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2000 Free Software Foundation, Inc.
|
/* Copyright (C) 2000, 2002 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -36,4 +36,5 @@ __libc_nanosleep (const struct timespec *req, struct timespec *rem)
|
|||||||
return _nsleep ((struct timestruc_t *) req, (struct timestruc_t *) rem);
|
return _nsleep ((struct timestruc_t *) req, (struct timestruc_t *) rem);
|
||||||
}
|
}
|
||||||
strong_alias (__libc_nanosleep, __nanosleep)
|
strong_alias (__libc_nanosleep, __nanosleep)
|
||||||
|
libc_hidden_def (__nanosleep)
|
||||||
strong_alias (__libc_nanosleep, nanosleep)
|
strong_alias (__libc_nanosleep, nanosleep)
|
||||||
|
@ -37,7 +37,7 @@ mount EXTRA mount i:sssip __mount mount
|
|||||||
mremap EXTRA mremap b:aini __mremap mremap
|
mremap EXTRA mremap b:aini __mremap mremap
|
||||||
munlock - munlock i:ai munlock
|
munlock - munlock i:ai munlock
|
||||||
munlockall - munlockall i: munlockall
|
munlockall - munlockall i: munlockall
|
||||||
nanosleep - nanosleep Ci:pp __libc_nanosleep __nanosleep nanosleep
|
nanosleep - nanosleep Ci:pp __libc_nanosleep __nanosleep nanosleep _GI___nanosleep
|
||||||
nfsservctl EXTRA nfsservctl i:ipp nfsservctl
|
nfsservctl EXTRA nfsservctl i:ipp nfsservctl
|
||||||
pause - pause Ci: __libc_pause pause
|
pause - pause Ci: __libc_pause pause
|
||||||
personality init-first personality i:i __personality personality
|
personality init-first personality i:i __personality personality
|
||||||
|
Loading…
x
Reference in New Issue
Block a user