This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
[PATCH] Revert PARAMS removal for gnu-regex.c
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [PATCH] Revert PARAMS removal for gnu-regex.c
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Wed, 31 May 2000 14:30:01 -0700
I've just committed the patch below.
* gnu-regex.c (re_match_2_internal): Revert 2000-05-27
patch which removed use of PARAMS from declaration. This
file should not have been touched as it is supposed to track
the version in glibc.
Index: gnu-regex.c
===================================================================
RCS file: /cvs/src/src/gdb/gnu-regex.c,v
retrieving revision 1.3
diff -u -r1.3 gnu-regex.c
--- gnu-regex.c 2000/05/28 01:12:27 1.3
+++ gnu-regex.c 2000/05/31 21:21:14
@@ -356,10 +356,12 @@
#define false 0
#define true 1
-static int re_match_2_internal (struct re_pattern_buffer *bufp,
- const char *string1, int size1,
- const char *string2, int size2,
- int pos, struct re_registers *regs, int stop);
+static int re_match_2_internal PARAMS ((struct re_pattern_buffer *bufp,
+ const char *string1, int size1,
+ const char *string2, int size2,
+ int pos,
+ struct re_registers *regs,
+ int stop));
/* These are the command codes that appear in compiled regular
expressions. Some opcodes are followed by argument bytes. A