Mercurial > gnulib
changeset 27274:73c44ba9c058
* lib/xstrndup.c: Assume config.h.
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Sat, 28 Oct 2006 18:21:16 +0000 |
parents | debec37b861d |
children | 45567dd78756 |
files | ChangeLog lib/xstrndup.c |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sat Oct 28 07:40:05 2006 +0000 +++ b/ChangeLog Sat Oct 28 18:21:16 2006 +0000 @@ -1,3 +1,7 @@ +2006-10-28 Eric Blake <ebb9@byu.net> + + * lib/xstrndup.c: Assume config.h. + 2006-10-27 Paul Eggert <eggert@cs.ucla.edu> Move stat.h-substitute stuff from lib/stat-macros.h to lib/stat_.h.
--- a/lib/xstrndup.c Sat Oct 28 07:40:05 2006 +0000 +++ b/lib/xstrndup.c Sat Oct 28 18:21:16 2006 +0000 @@ -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"