From 20e76cb365d07190cd56936e59bf95e3eb32b9ca Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Mon, 8 Dec 2008 21:04:24 +0000 Subject: Add strndup(3) prototype to string.h. This change was erronously ommitted from the r185690, and attempt to simply add the prototype to string.h has revealed that several contributed programs defined local prototypes for strndup(), controlled by autoconfed config.h. So, manually change #undef HAVE_STRNDUP to #define HAVE_STRNDUP 1. Next import of the corresponding program would regenerate config.h, overriding the changes in this commit. No objections from: kan --- kerberos5/include/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kerberos5/include') diff --git a/kerberos5/include/config.h b/kerberos5/include/config.h index 4484060d3c1a..f4b6d1e580c9 100644 --- a/kerberos5/include/config.h +++ b/kerberos5/include/config.h @@ -785,7 +785,7 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } #define HAVE_STRNCASECMP 1 /* Define if you have the function `strndup'. */ -/* #undef HAVE_STRNDUP */ +#define HAVE_STRNDUP 1 /* Define if you have the function `strnlen'. */ /* #undef HAVE_STRNLEN */ -- cgit v1.3