From c8a89e7dd5cab24242cc9050387bd5bb902da11a Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 30 Jan 2012 21:20:32 +0000 Subject: Remove miscellaneous __STDC__ conditionals. --- string/memchr.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'string/memchr.c') diff --git a/string/memchr.c b/string/memchr.c index f3098c7..28de957 100644 --- a/string/memchr.c +++ b/string/memchr.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991,93,96,97,99,2000,2003 Free Software Foundation, Inc. +/* Copyright (C) 1991,93,96,97,99,2000,2003,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 -- cgit v1.1