projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
88c14dc
)
* lib/memrchr.c: Assume <string.h> unconditionally, to pull in
author
Eric Blake
<ebb9@byu.net>
Tue, 30 Jan 2007 00:25:25 +0000
(
00:25
+0000)
committer
Eric Blake
<ebb9@byu.net>
Tue, 30 Jan 2007 00:25:25 +0000
(
00:25
+0000)
declaration.
ChangeLog
patch
|
blob
|
history
lib/memrchr.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 073fb774fdddb8ccce901e035e5f5a94d2bf2d5b..5ed8f7803c32c9714b1615bbf5f7a3415225bb03 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+2007-01-29 Eric Blake <ebb9@byu.net>
+
+ * lib/memrchr.c: Assume <string.h> unconditionally, to pull in
+ declaration.
+
2007-01-29 Paul Eggert <eggert@cs.ucla.edu>
* lib/strptime.h (strptime): Use 'restrict' for args where
2007-01-29 Paul Eggert <eggert@cs.ucla.edu>
* lib/strptime.h (strptime): Use 'restrict' for args where
@@
-201,7
+206,7
@@
(func_create_testdir): Set for_test to true.
2007-01-27 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
(func_create_testdir): Set for_test to true.
2007-01-27 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
-
Bruno Haible <bruno@clisp.org>
+ Bruno Haible <bruno@clisp.org>
* modules/strcasestr (Files): Remove lib/strcasestr.h.
(Depends-on): Add string.
* modules/strcasestr (Files): Remove lib/strcasestr.h.
(Depends-on): Add string.
diff --git
a/lib/memrchr.c
b/lib/memrchr.c
index 0b5661b0742edbdac83eb3c07e9c6b68a360bf20..29fd53101652103635ec1bf7aea919d008161b42 100644
(file)
--- a/
lib/memrchr.c
+++ b/
lib/memrchr.c
@@
-24,13
+24,13
@@
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
#if defined _LIBC
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
#if defined _LIBC
-# include <string.h>
# include <memcopy.h>
#else
# include <config.h>
# define reg_char char
#endif
# include <memcopy.h>
#else
# include <config.h>
# define reg_char char
#endif
+#include <string.h>
#include <limits.h>
#undef __memrchr
#include <limits.h>
#undef __memrchr