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 d88f08fa9bde10a1884b0fe37ea02566f1423574..70c6ab8425e3c142e985b756477962e36f6a0270 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 3ea1e5d998a7f118b7b90df6c1c405871a116da4..2cc8207520cc9b35625869c00b572ba17bdbc219 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 27c0a7b63ad8218061b063bfeadff2e9821ed500..21afc6b125de617bf9fd97e008334790568a8fb1 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
 ])