aboutsummaryrefslogtreecommitdiff
path: root/libio/libio.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-01-26 20:49:22 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-01-26 20:49:22 +0000
commit7071ad79db0886c0f17946feea71439400c706a9 (patch)
treed792b5885c9c4e7caa46456d22bb819598881a7d /libio/libio.h
parent08cf777f9e7f6d826658a99c7d77a359f73a45bf (diff)
downloadglibc-7071ad79db0886c0f17946feea71439400c706a9.zip
glibc-7071ad79db0886c0f17946feea71439400c706a9.tar.gz
glibc-7071ad79db0886c0f17946feea71439400c706a9.tar.bz2
Remove __STDC__ conditionals from installed headers.
Diffstat (limited to 'libio/libio.h')
-rw-r--r--libio/libio.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/libio/libio.h b/libio/libio.h
index 3ec2eb3..8997524 100644
--- a/libio/libio.h
+++ b/libio/libio.h
@@ -62,13 +62,8 @@
# if _G_HAVE_SYS_CDEFS
# include <sys/cdefs.h>
# else
-# ifdef __STDC__
-# define __P(p) p
-# define __PMT(p) p
-# else
-# define __P(p) ()
-# define __PMT(p) ()
-# endif
+# define __P(p) p
+# define __PMT(p) p
# endif
#endif /*!__P*/
@@ -77,11 +72,6 @@
# define _PARAMS(protos) __P(protos)
#endif /*!_PARAMS*/
-#ifndef __STDC__
-# ifndef const
-# define const
-# endif
-#endif
#define _IO_UNIFIED_JUMPTABLES 1
#ifndef _G_HAVE_PRINTF_FP
# define _IO_USE_DTOA 1