This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] Revert PARAMS removal for gnu-regex.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]