diff options
author | Bruno Haible <bruno@clisp.org> | 2020-02-23 12:19:28 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-02-23 12:19:28 +0100 |
commit | 771be1d4d16c54578e9605c3d457290b822bcfa5 (patch) | |
tree | 96551191eff16823c3297064bdf92ec8ac522855 /m4 | |
parent | d5233651c987d7b605aff58c79538d1b5cc5ed1e (diff) | |
download | gnulib-771be1d4d16c54578e9605c3d457290b822bcfa5.tar.gz |
memcoll: Use 'restrict'.
* lib/memcoll.h (memcoll): Use 'restrict'.
* m4/memcoll.m4 (gl_MEMCOLL): Require AC_C_RESTRICT.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/memcoll.m4 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/m4/memcoll.m4 b/m4/memcoll.m4 index d3d1132d3c..e6eb77eb1e 100644 --- a/m4/memcoll.m4 +++ b/m4/memcoll.m4 @@ -1,8 +1,12 @@ -# memcoll.m4 serial 10 +# memcoll.m4 serial 11 dnl Copyright (C) 2002-2003, 2005-2006, 2009-2020 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. -AC_DEFUN([gl_MEMCOLL], [:]) +AC_DEFUN([gl_MEMCOLL], +[ + AC_REQUIRE([AC_C_RESTRICT]) + : +]) |