summaryrefslogtreecommitdiff
path: root/lib/xstrndup.c
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2006-10-28 18:21:16 +0000
committerEric Blake <ebb9@byu.net>2006-10-28 18:21:16 +0000
commitd9b2d71dada5973a862460cf999daf4c2b15faa5 (patch)
tree4f2edabef7089d46c4e17f5d8ee4a8e23d70afa1 /lib/xstrndup.c
parentaf87e8dbd91f63213bb22d019c0800189bbd16f0 (diff)
downloadgnulib-d9b2d71dada5973a862460cf999daf4c2b15faa5.tar.gz
* lib/xstrndup.c: Assume config.h.
Diffstat (limited to 'lib/xstrndup.c')
-rw-r--r--lib/xstrndup.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/xstrndup.c b/lib/xstrndup.c
index a62d4bd695..afcbc1ab2c 100644
--- a/lib/xstrndup.c
+++ b/lib/xstrndup.c
@@ -1,6 +1,6 @@
/* Duplicate a bounded initial segment of a string, with out-of-memory
checking.
- Copyright (C) 2003 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -16,9 +16,7 @@
along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
/* Specification. */
#include "xstrndup.h"