aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/regex.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/regex.h b/src/regex.h
index ea701231c2..0840861da3 100644
--- a/src/regex.h
+++ b/src/regex.h
@@ -387,10 +387,7 @@ typedef struct
prototype (if we are ANSI), and once without (if we aren't) -- we
use the following macro to declare argument types. This
unfortunately clutters up the declarations a bit, but I think it's
- worth it.
-
- We may also have to undo `const' if we are not ANSI -- but if it has
- already been defined, as by Autoconf's AC_CONST, don't do anything. */
+ worth it. */
#if __STDC__
@@ -400,18 +397,6 @@ typedef struct
#define _RE_ARGS(args) ()
-#ifndef USING_AUTOCONF
-
-#ifndef HAVE_CONST
-#define const
-#else
-#if !HAVE_CONST
-#define const
-#endif
-#endif
-
-#endif /* not USING_AUTOCONF */
-
#endif /* not __STDC__ */
/* Sets the current default syntax to SYNTAX, and return the old syntax.