about summary refs log tree commit diff
path: root/sysdeps/generic/nanosleep.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-31 10:25:10 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-31 10:25:10 +0000
commitf7f7f8150a52fd01eeedf17fa241d9cc0cf36842 (patch)
treeeef37117ca6e8108eb20b0c0411d2a5486386361 /sysdeps/generic/nanosleep.c
parent245eab025f92980428a499e6d7f4845f6ceaadc8 (diff)
downloadglibc-f7f7f8150a52fd01eeedf17fa241d9cc0cf36842.tar.gz
glibc-f7f7f8150a52fd01eeedf17fa241d9cc0cf36842.tar.xz
glibc-f7f7f8150a52fd01eeedf17fa241d9cc0cf36842.zip
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.
Diffstat (limited to 'sysdeps/generic/nanosleep.c')
-rw-r--r--sysdeps/generic/nanosleep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/generic/nanosleep.c b/sysdeps/generic/nanosleep.c
index 0ff7036c5c..7a2138b6f1 100644
--- a/sysdeps/generic/nanosleep.c
+++ b/sysdeps/generic/nanosleep.c
@@ -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.
 
    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)
 
 weak_alias (__libc_nanosleep, __nanosleep)
+libc_hidden_def (__nanosleep)
 weak_alias (__libc_nanosleep, nanosleep)
 #include <stub-tag.h>