about summary refs log tree commit diff
path: root/misc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-10-03 18:27:30 +0000
committerUlrich Drepper <drepper@redhat.com>2007-10-03 18:27:30 +0000
commitac97dec17a09b31b0407cbd4f49e2f2a45e3b17e (patch)
tree9d7ba4b749aa2f9489737ab9aaedbdecfca34ce3 /misc
parentee868c89aee79e85af2e6d3e2c1289b78f6b3078 (diff)
downloadglibc-ac97dec17a09b31b0407cbd4f49e2f2a45e3b17e.tar.gz
glibc-ac97dec17a09b31b0407cbd4f49e2f2a45e3b17e.tar.xz
glibc-ac97dec17a09b31b0407cbd4f49e2f2a45e3b17e.zip
* misc/sys/cdefs.h (__REDIRECT_LDBL, __REDIRECT_NTH_LDBL): New macros.
	* wcsmbs/bits/wchar2.h (__swprintf_alias, __vswprintf_alias): Use
	__REDIRECT_NTH_LDBL macro rather than __REDIRECT_NTH.
Diffstat (limited to 'misc')
-rw-r--r--misc/sys/cdefs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h
index 56b7f95b1c..efdc4f97e0 100644
--- a/misc/sys/cdefs.h
+++ b/misc/sys/cdefs.h
@@ -360,6 +360,10 @@
   extern __typeof (name) name __asm (__ASMNAME (#alias));
 #  define __LDBL_REDIR_DECL(name) \
   extern __typeof (name) name __asm (__ASMNAME ("__nldbl_" #name));
+#  define __REDIRECT_LDBL(name, proto, alias) \
+  __LDBL_REDIR1 (name, proto, __nldbl_##alias)
+#  define __REDIRECT_NTH_LDBL(name, proto, alias) \
+  __LDBL_REDIR1_NTH (name, proto, __nldbl_##alias)
 # endif
 #endif
 #if !defined __LDBL_COMPAT || !defined __REDIRECT
@@ -368,6 +372,11 @@
 # define __LDBL_REDIR1_NTH(name, proto, alias) name proto __THROW
 # define __LDBL_REDIR_NTH(name, proto) name proto __THROW
 # define __LDBL_REDIR_DECL(name)
+# ifdef __REDIRECT
+#  define __REDIRECT_LDBL(name, proto, alias) __REDIRECT (name, proto, alias)
+#  define __REDIRECT_NTH_LDBL(name, proto, alias) \
+  __REDIRECT_NTH (name, proto, alias)
+# endif
 #endif
 
 #endif	 /* sys/cdefs.h */