projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests for module 'strcasestr'.
[gnulib.git]
/
lib
/
argz.c
diff --git
a/lib/argz.c
b/lib/argz.c
index
6ce502d
..
253c6f5
100644
(file)
--- a/
lib/argz.c
+++ b/
lib/argz.c
@@
-1,5
+1,5
@@
/* argz.c -- argz implementation for non-glibc systems
/* argz.c -- argz implementation for non-glibc systems
- Copyright (C) 2004 Free Software Foundation, Inc.
+ Copyright (C) 2004
, 2006, 2007
Free Software Foundation, Inc.
Originally by Gary V. Vaughan <gary@gnu.org>
NOTE: The canonical source of this file is maintained with the
Originally by Gary V. Vaughan <gary@gnu.org>
NOTE: The canonical source of this file is maintained with the
@@
-17,15
+17,12
@@
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation,
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-/* Provide our wierdo HAVE_CONFIG_H rvalue for other clients. */
-#if !defined(LTDL) && defined(HAVE_CONFIG_H)
-# define HAVE_CONFIG_H <config.h>
-#endif
-
-#if defined(HAVE_CONFIG_H)
-# include HAVE_CONFIG_H
+#if defined(LTDL) && defined LT_CONFIG_H
+# include LT_CONFIG_H
+#else
+# include <config.h>
#endif
#include <argz.h>
#endif
#include <argz.h>
@@
-35,15
+32,7
@@
#include <stdlib.h>
#include <sys/types.h>
#include <errno.h>
#include <stdlib.h>
#include <sys/types.h>
#include <errno.h>
-
-#if defined(HAVE_STRING_H)
-# include <string.h>
-#elif defined(HAVE_STRINGS_H)
-# include <strings.h>
-#endif
-#if defined(HAVE_MEMORY_H)
-# include <memory.h>
-#endif
+#include <string.h>
#define EOS_CHAR '\0'
#define EOS_CHAR '\0'