diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-07-13 06:26:17 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-07-13 06:26:17 +0000 |
commit | a9564ae94bc6c852ce47629d1ba735aadb8737b4 (patch) | |
tree | 1703ace88690acdf6ae9934f6ae86a0588526369 /sysdeps | |
parent | b799f91dddb33467760c260e67d9cd86f53a829c (diff) | |
download | glibc-a9564ae94bc6c852ce47629d1ba735aadb8737b4.tar.gz glibc-a9564ae94bc6c852ce47629d1ba735aadb8737b4.tar.xz glibc-a9564ae94bc6c852ce47629d1ba735aadb8737b4.zip |
* include/libc-symbols.h: Define macros for librt hidden symbols.
* include/time.h: Add librt_hidden_proto definition for clock_gettime. * sysdeps/generic/clock_gettime.c: Add librt_hidden_def. * sysdeps/unix/clock_gettime.c: Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/clock_gettime.c | 3 | ||||
-rw-r--r-- | sysdeps/unix/clock_gettime.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/generic/clock_gettime.c b/sysdeps/generic/clock_gettime.c index 85bb79c548..ff306120ba 100644 --- a/sysdeps/generic/clock_gettime.c +++ b/sysdeps/generic/clock_gettime.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1999 Free Software Foundation, Inc. +/* Copyright (C) 1999, 2005 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 @@ -26,5 +26,6 @@ clock_gettime (clockid_t clock_id, struct timespec *tp) __set_errno (ENOSYS); return -1; } +librt_hidden_def (clock_gettime) stub_warning (clock_gettime) #include <stub-tag.h> diff --git a/sysdeps/unix/clock_gettime.c b/sysdeps/unix/clock_gettime.c index 8f82ac848d..f698f0151b 100644 --- a/sysdeps/unix/clock_gettime.c +++ b/sysdeps/unix/clock_gettime.c @@ -131,3 +131,4 @@ clock_gettime (clockid_t clock_id, struct timespec *tp) return retval; } +librt_hidden_def (clock_gettime) |