diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-01-30 21:20:32 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-01-30 21:20:32 +0000 |
commit | c8a89e7dd5cab24242cc9050387bd5bb902da11a (patch) | |
tree | 7aeca9797fb026f8df75c8285e3a1bfed6180da7 /string/rawmemchr.c | |
parent | 3b1004624e54cc2fefd034ff80d5dea4b6db764f (diff) | |
download | glibc-c8a89e7dd5cab24242cc9050387bd5bb902da11a.zip glibc-c8a89e7dd5cab24242cc9050387bd5bb902da11a.tar.gz glibc-c8a89e7dd5cab24242cc9050387bd5bb902da11a.tar.bz2 |
Remove miscellaneous __STDC__ conditionals.
Diffstat (limited to 'string/rawmemchr.c')
-rw-r--r-- | string/rawmemchr.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/string/rawmemchr.c b/string/rawmemchr.c index cb00ad7..a7c9ec6 100644 --- a/string/rawmemchr.c +++ b/string/rawmemchr.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991,93,96,97,99,2000,2002 Free Software Foundation, Inc. +/* Copyright (C) 1991,93,96,97,99,2000,2002,2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Based on strlen implementation by Torbjorn Granlund (tege@sics.se), with help from Dan Sahlin (dan@sics.se) and @@ -26,11 +26,7 @@ #endif #undef __ptr_t -#if defined (__cplusplus) || (defined (__STDC__) && __STDC__) -# define __ptr_t void * -#else /* Not C++ or ANSI C. */ -# define __ptr_t char * -#endif /* C++ or ANSI C. */ +#define __ptr_t void * #if defined (_LIBC) # include <string.h> |