Adjust to work with new autoconf macros, AC_FUNC_MALLOC
[gnulib.git] / lib / ChangeLog
index c5bc0d7..04f364d 100644 (file)
@@ -1,3 +1,62 @@
+2002-11-21  Jim Meyering  <jim@meyering.net>
+
+       Merge in changes from the coreutils.
+
+       * mountlist.h (ME_DUMMY): Don't count entries of type `auto' as dummy
+       ones.  At least on GNU/Linux systems, `auto' means something else.
+       From Michael Stone.
+
+2002-11-20  Paul Eggert  <eggert@twinsun.com>
+
+       Merge argmatch cleanups from Bison.  Assume C89.
+
+       * argmatch.c: Include config.h here, not in argmatch.h.
+       Include stdlib.h, for EXIT_FAILURE.
+       Always include <string.h>, since we assume C89.
+       (EXIT_FAILURE): Remove pre-C89 bug workaround.
+       * argmatch.h: Do not include <config.h> or <sys/types.h>.
+       Include <stddef.h> instead, since it's all we need for size_t.
+       (PARAMS): Remove.  All uses removed.
+       (ARRAY_CARDINALITY): Do not bother to #undef.
+       (ARRAY_CARDINALITY, ARGMATCH, ARGCASEMATCH, invalid_arg,
+       ARGMATCH_VALID, XARGMATCH, XARGCASEMATCH):
+       Remove unnecessary parentheses.
+       (ARGMATCH_VALID, XARGMATCH, XARGCASEMATCH):
+       Insert necessary parentheses.
+       (ARGMATCH_CONSTRAINT, ARGMATCH_VERIFY): New macros.
+       (ARGMATCH_ASSERT): Use ARGMATCH_CONSTRAINT.
+
+2002-11-19  Bruno Haible  <bruno@clisp.org>
+
+       * mbswidth.c: Include mbswidth.h right at the beginning.
+       * mbswidth.h: Include <stddef.h>, for size_t.
+
+       * mbswidth.h (PARAMS): Remove macro.
+       (mbswidth, mbsnwidth): Use ANSI C function declarations.
+       * mbswidth.c (mbswidth, mbsnwidth): Likewise.
+
+       * gcd.h (PARAMS): Remove macro.
+       (gcd): Use ANSI C function declarations.
+       * gcd.c (gcd): Likewise.
+
+2002-11-15  Bruno Haible  <bruno@clisp.org>
+
+       * strcspn.c: Include <stddef.h>.
+       (strcspn): Use ANSI C function declaration. Change return type to
+       size_t. Use NULL.
+       * strpbrk.c: Minimize diffs to glibc. Include <stddef.h>.
+       (strpbrk): Use NULL.
+       * strpbrk.h (PARAMS): Remove macro.
+       (strpbrk): Use ANSI C function declaration.
+       * strstr.c: Don't include <sys/types.h>.
+       * strstr.h (PARAMS): Remove macro.
+       (strstr): Use ANSI C function declarations.
+
+2002-11-06  Bruno Haible  <bruno@clisp.org>
+
+       * gcd.h (gcd): Change argument type to 'unsigned long'.
+       * gcd.c (gcd): Likewise.
+
 2002-11-05  Bruno Haible  <bruno@clisp.org>
 
        * gcd.h: New file, from gettext-0.11.5.