aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixinc/gnu-regex.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@acm.org>1999-05-20 07:10:41 +0000
committerBruce Korb <korbb@gcc.gnu.org>1999-05-20 07:10:41 +0000
commit48ac9ce28c62ff92048a97fd02af394668f027eb (patch)
treef430e64710d3ff45dbb58e4b25e60adcece2fd9b /gcc/fixinc/gnu-regex.c
parent6de94858b971f7e73295163d0a28854ce93024b5 (diff)
downloadgcc-48ac9ce28c62ff92048a97fd02af394668f027eb.zip
gcc-48ac9ce28c62ff92048a97fd02af394668f027eb.tar.gz
gcc-48ac9ce28c62ff92048a97fd02af394668f027eb.tar.bz2
static initialization removal & K&R-ification
From-SVN: r27052
Diffstat (limited to 'gcc/fixinc/gnu-regex.c')
-rw-r--r--gcc/fixinc/gnu-regex.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/fixinc/gnu-regex.c b/gcc/fixinc/gnu-regex.c
index 84db70f..b24845b 100644
--- a/gcc/fixinc/gnu-regex.c
+++ b/gcc/fixinc/gnu-regex.c
@@ -80,6 +80,16 @@
#else /* not emacs */
+# include "auto-host.h"
+
+# if !defined(const) && !defined(HAVE_CONST)
+# define const
+# endif
+
+# if !defined(volatile) && !defined(HAVE_VOLATILE)
+# define volatile
+# endif
+
/* If we are not linking with Emacs proper,
we can't use the relocating allocator
even if config.h says that we can. */