aboutsummaryrefslogtreecommitdiff
path: root/gdb/regex.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-06-25 19:10:49 +0000
committerFred Fish <fnf@specifix.com>1992-06-25 19:10:49 +0000
commit50e0dc4198cd5a873deeae34cf9718e805049693 (patch)
treeea0417dd264644957538ae248647eeee87b85ccf /gdb/regex.c
parent65967d33edcbb41cc77c35721cdf7698f38748c9 (diff)
downloadgdb-50e0dc4198cd5a873deeae34cf9718e805049693.zip
gdb-50e0dc4198cd5a873deeae34cf9718e805049693.tar.gz
gdb-50e0dc4198cd5a873deeae34cf9718e805049693.tar.bz2
* mipsread.c: Pass NULL name pointer to init_type, not 0.
* gdbtypes.c (init_type): Use copy of typename on type_obstack. * dwarfread.c (enum_type): Save enum names on type_obstack. * dwarfread.c (struct_type): Save member name on type_obstack. * symtab.c (_initialize_symtab): Fix misspelling. * regex.c (store_jump, insert_jump): Return void.
Diffstat (limited to 'gdb/regex.c')
-rw-r--r--gdb/regex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/regex.c b/gdb/regex.c
index a4c9e26..59695cf 100644
--- a/gdb/regex.c
+++ b/gdb/regex.c
@@ -177,7 +177,7 @@ re_set_syntax (syntax)
pending_exact += c; \
}
-static int store_jump (), insert_jump ();
+static void store_jump (), insert_jump ();
char *
re_compile_pattern (pattern, size, bufp)
@@ -659,7 +659,7 @@ re_compile_pattern (pattern, size, bufp)
/* Store where `from' points a jump operation to jump to where `to' points.
`opcode' is the opcode to store. */
-static int
+static void
store_jump (from, opcode, to)
char *from, *to;
char opcode;
@@ -676,7 +676,7 @@ store_jump (from, opcode, to)
If you call this function, you must zero out pending_exact. */
-static int
+static void
insert_jump (op, from, to, current_end)
char op;
char *from, *to, *current_end;