aboutsummaryrefslogtreecommitdiff
path: root/string/memrchr.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-01-30 22:34:33 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-30 22:34:33 -0500
commit0eb6f47528cc10645cb0a6919b3af53166ca4fe8 (patch)
treedb61d4a90096b60be41fb33d6d87e79d1d9c3b04 /string/memrchr.c
parent27a25b6e633a3ea071e229337eaae36d0fa243fa (diff)
parentc8a89e7dd5cab24242cc9050387bd5bb902da11a (diff)
downloadglibc-0eb6f47528cc10645cb0a6919b3af53166ca4fe8.zip
glibc-0eb6f47528cc10645cb0a6919b3af53166ca4fe8.tar.gz
glibc-0eb6f47528cc10645cb0a6919b3af53166ca4fe8.tar.bz2
Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts: ChangeLog
Diffstat (limited to 'string/memrchr.c')
-rw-r--r--string/memrchr.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/string/memrchr.c b/string/memrchr.c
index 498a437..a19f8e6 100644
--- a/string/memrchr.c
+++ b/string/memrchr.c
@@ -1,5 +1,5 @@
/* memrchr -- find the last occurrence of a byte in a memory block
- Copyright (C) 1991, 93, 96, 97, 99, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1991, 93, 96, 97, 99, 2000, 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
@@ -29,11 +29,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>