summaryrefslogtreecommitdiff
path: root/gdb/f-lang.c
diff options
context:
space:
mode:
authorPaul N. Hilfinger <hilfinger@adacore.com>2003-09-09 08:05:43 +0000
committerPaul N. Hilfinger <hilfinger@adacore.com>2003-09-09 08:05:43 +0000
commitfdc507b203fe0f81eae816e7b81cf037ca8b2a8a (patch)
tree3f1730b53719a66a6641dbcc7a261e448b509bce /gdb/f-lang.c
parent9a7ed722ec4a61e0add421aaab72c41d394fca07 (diff)
downloadgdb-fdc507b203fe0f81eae816e7b81cf037ca8b2a8a.tar.gz
2003-09-09 Paul N. Hilfinger <hilfingr@gnat.com>
* 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.
Diffstat (limited to 'gdb/f-lang.c')
-rw-r--r--gdb/f-lang.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/f-lang.c b/gdb/f-lang.c
index 9ed2d6f1505..52f56b36074 100644
--- a/gdb/f-lang.c
+++ b/gdb/f-lang.c
@@ -100,7 +100,7 @@ static void f_emit_char (int c, struct ui_file * stream, int quoter);
be replaced with a true F77 version. */
static void
-f_emit_char (register int c, struct ui_file *stream, int quoter)
+f_emit_char (int c, struct ui_file *stream, int quoter)
{
c &= 0xFF; /* Avoid sign bit follies */
@@ -164,7 +164,7 @@ static void
f_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;
@@ -250,7 +250,7 @@ f_printstr (struct ui_file *stream, char *string, unsigned int length,
static struct type *
f_create_fundamental_type (struct objfile *objfile, int typeid)
{
- register struct type *type = NULL;
+ struct type *type = NULL;
switch (typeid)
{