* README: Remove note about gcc warnings on alpha, these should be
[deliverable/binutils-gdb.git] / gdb / regex.c
index d83740f742e127d5106f1d3d8ba9060e92fdb3b6..78b1f478b0818fa3c2587b0b79d05f38099415cf 100644 (file)
@@ -32,14 +32,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #else  /* not emacs */
 
-/* Make alloca work the best possible way.  */
-#ifdef __GNUC__
-#define alloca __builtin_alloca
-#else
-#ifdef sparc
-#include <alloca.h>
-#endif
-#endif
+#include "defs.h"
+#include <string.h>
 
 /*
  * Define the syntax stuff, so we can do the \<...\> things.
@@ -1556,7 +1550,7 @@ static struct re_pattern_buffer re_comp_buf;
 
 char *
 re_comp (s)
-     char *s;
+     const char *s;
 {
   if (!s)
     {
This page took 0.02765 seconds and 4 git commands to generate.