[PATCH] autoconf: fix typo in previous change

Paul Eggert <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.patches
Message-ID <[email protected]>
* lib/autoconf/c.m4 (AC_C_RESTRICT): Fix typo in previous change.
---
 lib/autoconf/c.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4
index a565339..9b7aa6b 100644
--- a/lib/autoconf/c.m4
+++ b/lib/autoconf/c.m4
@@ -1862,7 +1862,7 @@ AC_DEFUN([AC_C_RESTRICT],
 	 [[typedef int *int_ptr;
 	   int foo (int_ptr $ac_kw ip) { return ip[0]; }
 	   int bar (int [$ac_kw]); /* Catch GCC bug 14050.  */
-	   int bar (int [$ac_kw ip]) { return ip[0]; }
+	   int bar (int ip[$ac_kw]) { return ip[0]; }
 	 ]],
 	 [[int s[1];
 	   int *$ac_kw t = s;
-- 
1.9.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.