summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-02-23 12:19:28 +0100
committerBruno Haible <bruno@clisp.org>2020-02-23 12:19:28 +0100
commit771be1d4d16c54578e9605c3d457290b822bcfa5 (patch)
tree96551191eff16823c3297064bdf92ec8ac522855 /m4
parentd5233651c987d7b605aff58c79538d1b5cc5ed1e (diff)
downloadgnulib-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.m48
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])
+ :
+])