From f86f5ca3f51ad4cd6a84f094bc9ea7b0e97f132c Mon Sep 17 00:00:00 2001 From: "Paul N. Hilfinger" Date: Tue, 9 Sep 2003 08:05:43 +0000 Subject: 2003-09-09 Paul N. Hilfinger * p-lang.c: Eliminate "register". * c-lang.c: Ditto. * expprint.c: Ditto. * f-lang.c: Ditto. * jv-lang.c: Ditto. * language.c: Ditto. * m2-lang.c: Ditto. * parse.c: Ditto. * scm-lang.c: Ditto. * objc-lang.c: Ditto. --- gdb/c-lang.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/c-lang.c') diff --git a/gdb/c-lang.c b/gdb/c-lang.c index bdbbb54172c..4a5a3628ef0 100644 --- a/gdb/c-lang.c +++ b/gdb/c-lang.c @@ -42,7 +42,7 @@ static void c_emit_char (int c, struct ui_file * stream, int quoter); characters and strings is language specific. */ static void -c_emit_char (register int c, struct ui_file *stream, int quoter) +c_emit_char (int c, struct ui_file *stream, int quoter) { const char *escape; int host_char; @@ -88,7 +88,7 @@ void c_printstr (struct ui_file *stream, char *string, unsigned int length, int width, int force_ellipses) { - register unsigned int i; + unsigned int i; unsigned int things_printed = 0; int in_quotes = 0; int need_comma = 0; @@ -207,7 +207,7 @@ c_printstr (struct ui_file *stream, char *string, unsigned int length, struct type * c_create_fundamental_type (struct objfile *objfile, int typeid) { - register struct type *type = NULL; + struct type *type = NULL; switch (typeid) { -- cgit v1.2.1