xalloc.h now uses inline, so includers need to configure this.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 27 Oct 2003 08:11:09 +0000 (08:11 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 27 Oct 2003 08:11:09 +0000 (08:11 +0000)
lib/ChangeLog
m4/ChangeLog
m4/xalloc.m4

index d88f08f..70c6ab8 100644 (file)
@@ -3,6 +3,8 @@
        * xalloc.h (xalloc_oversized): New static inline function, for
        callers that want to do their own size-overflow checking.  Include
        <stdbool.h>, since xalloc_oversized returns bool.
+       * xalloc.c (array_size_overflow): Remove.  All callers changed
+       to use xalloc_oversized.
 
        Add two functions x2realloc, x2nrealloc, for programs that grow
        arrays dynamically by doubling their sizes.
index 3ea1e5d..2cc8207 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-26  Paul Eggert  <eggert@twinsun.com>
+
+       * xalloc.m4 (gl_XALLOC): Requore AC_C_INLINE, since xalloc.h
+       now uses inline.
+
 2003-10-23  Paul Eggert  <eggert@twinsun.com>
 
        * getline.m4 (AM_FUNC_GETLINE):
index 27c0a7b..21afc6b 100644 (file)
@@ -1,4 +1,4 @@
-# xalloc.m4 serial 4
+# xalloc.m4 serial 5
 dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
 dnl This file is free software, distributed under the terms of the GNU
 dnl General Public License.  As a special exception to the GNU General
@@ -8,6 +8,7 @@ dnl the same distribution terms as the rest of that program.
 
 AC_DEFUN([gl_XALLOC],
 [
+  AC_REQUIRE([AC_C_INLINE])
   gl_PREREQ_XMALLOC
   gl_PREREQ_XSTRDUP
 ])