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 /include/libc-symbols.h | |
parent | b799f91dddb33467760c260e67d9cd86f53a829c (diff) | |
download | glibc-a9564ae94bc6c852ce47629d1ba735aadb8737b4.zip glibc-a9564ae94bc6c852ce47629d1ba735aadb8737b4.tar.gz glibc-a9564ae94bc6c852ce47629d1ba735aadb8737b4.tar.bz2 |
* 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 'include/libc-symbols.h')
-rw-r--r-- | include/libc-symbols.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h index cdbc4ef..4fef305 100644 --- a/include/libc-symbols.h +++ b/include/libc-symbols.h @@ -708,6 +708,24 @@ for linking") # define libresolv_hidden_data_ver(local, name) #endif +#if defined NOT_IN_libc && defined IS_IN_librt +# define librt_hidden_proto(name, attrs...) hidden_proto (name, ##attrs) +# define librt_hidden_def(name) hidden_def (name) +# define librt_hidden_weak(name) hidden_weak (name) +# define librt_hidden_ver(local, name) hidden_ver (local, name) +# define librt_hidden_data_def(name) hidden_data_def (name) +# define librt_hidden_data_weak(name) hidden_data_weak (name) +# define librt_hidden_data_ver(local, name) hidden_data_ver (local, name) +#else +# define librt_hidden_proto(name, attrs...) +# define librt_hidden_def(name) +# define librt_hidden_weak(name) +# define librt_hidden_ver(local, name) +# define librt_hidden_data_def(name) +# define librt_hidden_data_weak(name) +# define librt_hidden_data_ver(local, name) +#endif + #if defined NOT_IN_libc && defined IS_IN_libdl # define libdl_hidden_proto(name, attrs...) hidden_proto (name, ##attrs) # define libdl_hidden_def(name) hidden_def (name) |