about summary refs log tree commit diff
path: root/string/memcmp.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-01-30 21:20:32 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-01-30 21:20:32 +0000
commitc8a89e7dd5cab24242cc9050387bd5bb902da11a (patch)
tree7aeca9797fb026f8df75c8285e3a1bfed6180da7 /string/memcmp.c
parent3b1004624e54cc2fefd034ff80d5dea4b6db764f (diff)
downloadglibc-c8a89e7dd5cab24242cc9050387bd5bb902da11a.tar.gz
glibc-c8a89e7dd5cab24242cc9050387bd5bb902da11a.tar.xz
glibc-c8a89e7dd5cab24242cc9050387bd5bb902da11a.zip
Remove miscellaneous __STDC__ conditionals.
Diffstat (limited to 'string/memcmp.c')
-rw-r--r--string/memcmp.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/string/memcmp.c b/string/memcmp.c
index 2f8cf344af..d2ec1c279c 100644
--- a/string/memcmp.c
+++ b/string/memcmp.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,1993,1995,1997,1998,2003,2004
+/* Copyright (C) 1991,1993,1995,1997,1998,2003,2004,2012
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Torbjorn Granlund (tege@sics.se).
@@ -23,13 +23,7 @@
 #endif
 
 #undef	__ptr_t
-#if defined __cplusplus || (defined __STDC__ && __STDC__)
-# define __ptr_t	void *
-#else /* Not C++ or ANSI C.  */
-# undef	const
-# define const
-# define __ptr_t	char *
-#endif /* C++ or ANSI C.  */
+#define __ptr_t	void *
 
 #if defined HAVE_STRING_H || defined _LIBC
 # include <string.h>