]> sourceware.org Git - glibc.git/commitdiff
symbols: Add defines for libanl's libanl_hidden_{def|proto}
authorLukasz Majewski <lukma@denx.de>
Mon, 30 Nov 2020 16:57:56 +0000 (17:57 +0100)
committerLukasz Majewski <lukma@denx.de>
Fri, 4 Dec 2020 09:04:38 +0000 (10:04 +0100)
The __gai_suspend_time64, which supports 64 bit time on ports with
__WORDSIZE == 32 && __TIMESIZE != 64, shall be exported from libanl
(the same library from which original gai_suspend is exported).

Up till now there were no defines for this library. This commit adds
them.

include/libc-symbols.h

index b8103b98bbee1eaa410911ecc630ce5553dad337..154a73b5e54edd45ddd0b4f304fa3d7f3e47b15a 100644 (file)
@@ -879,6 +879,14 @@ for linking")
 # define libutil_hidden_data_ver(local, name)
 #endif
 
+#if IS_IN (libanl)
+# define libanl_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
+# define libanl_hidden_def(name) hidden_def (name)
+#else
+# define libanl_hidden_proto(name, attrs...)
+# define libanl_hidden_def(name)
+#endif
+
 /* Get some dirty hacks.  */
 #include <symbol-hacks.h>
 
This page took 0.044531 seconds and 5 git commands to generate.