summaryrefslogtreecommitdiff
path: root/libiberty/memchr.c
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2003-04-15 03:35:47 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2003-04-15 03:35:47 +0000
commit0ae0f1b084a79054403a21ff278fa331b2ee02f9 (patch)
treedcc4ca6916745869895ab9bff8b4d6e3c5108d71 /libiberty/memchr.c
parentdb0b376eb938de6ee819e751c0c13d4faf5a2dda (diff)
downloadgcc-0ae0f1b084a79054403a21ff278fa331b2ee02f9.tar.gz
argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
* argv.c: Use ANSI_PROTOTYPES instead of __STDC__. * memchr.c: Likewise. * strcasecmp.c: Likewise. * strncasecmp.c: Likewise. * strncmp.c: Likewise. * xatexit.c: Likewise. * xmalloc.c: Likewise. * copysign.c: Use traditional function declaration instead of DEFUN. * sigsetmask.c: Likewise. * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN. * memset.c: Likewise. * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy. * memmove.c: Likewise. From-SVN: r65619
Diffstat (limited to 'libiberty/memchr.c')
-rw-r--r--libiberty/memchr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/memchr.c b/libiberty/memchr.c
index f94bea018f5..3948125963d 100644
--- a/libiberty/memchr.c
+++ b/libiberty/memchr.c
@@ -15,7 +15,7 @@ returned.
*/
#include <ansidecl.h>
-#ifdef __STDC__
+#ifdef ANSI_PROTOTYPES
#include <stddef.h>
#else
#define size_t unsigned long