Remove K&R cruft.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 11 Sep 2003 08:59:15 +0000 (08:59 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 11 Sep 2003 08:59:15 +0000 (08:59 +0000)
lib/ChangeLog
m4/ChangeLog

index 13e13b7496067f4e99a19b664f4acadec4f70dde..961ba1f0786ac76abaaf33337478144117b76bbd 100644 (file)
@@ -1,3 +1,11 @@
+2003-09-11  Paul Eggert  <eggert@twinsun.com>
+
+       * strndup.c: Don't include <stdio.h>, <sys/types.h>.
+       Include <stdlib.h>, <string.h> unconditionally.
+       Remove now-unnecessary cast to char *.
+       * strnlen.c: Include <string.h> unconditionally.
+       * yesno (main): Define with a prototype.
+       
 2003-09-10  Bruno Haible  <bruno@clisp.org>
 
        * strcspn.c: Include <string.h> unconditionally.
index cd7977bc595791bdc3fc0ed343973b720f2f533c..a5e56363f08c7eb023456f2410c876ddffb0eaa8 100644 (file)
@@ -1,3 +1,9 @@
+2003-09-11  Paul Eggert  <eggert@twinsun.com>
+
+       * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
+       * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
+       string.h, memchr, STDC_HEADERS.
+       
 2003-09-10  Bruno Haible  <bruno@clisp.org>
 
        * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.