summaryrefslogtreecommitdiff
path: root/usr.bin/file
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2008-12-08 21:04:24 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2008-12-08 21:04:24 +0000
commit20e76cb365d07190cd56936e59bf95e3eb32b9ca (patch)
treed222119fdf25f6e509a03e165fe282bb307b8a27 /usr.bin/file
parenta6d94c502cfa934ed43a042d52ae6019b3c0244d (diff)
downloadsrc-test-20e76cb365d07190cd56936e59bf95e3eb32b9ca.tar.gz
src-test-20e76cb365d07190cd56936e59bf95e3eb32b9ca.zip
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
Notes
Notes: svn path=/head/; revision=185777
Diffstat (limited to 'usr.bin/file')
-rw-r--r--usr.bin/file/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/file/config.h b/usr.bin/file/config.h
index 65e4a6a59ad9a..4f8a99f6cca2d 100644
--- a/usr.bin/file/config.h
+++ b/usr.bin/file/config.h
@@ -77,7 +77,7 @@
#define HAVE_STRING_H 1
/* Define to 1 if you have the `strndup' function. */
-/* #undef HAVE_STRNDUP */
+#define HAVE_STRNDUP 1
/* Define to 1 if you have the `strtof' function. */
#define HAVE_STRTOF 1