summaryrefslogtreecommitdiff
path: root/gdb/m2-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
commitf86f5ca3f51ad4cd6a84f094bc9ea7b0e97f132c (patch)
treea5bc03526072fd062ac15874beec066e1f64a36c /gdb/m2-lang.c
parent83ee270eaa44b7c716584dcd19247427d956dc8b (diff)
downloadbinutils-gdb-f86f5ca3f51ad4cd6a84f094bc9ea7b0e97f132c.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/m2-lang.c')
-rw-r--r--gdb/m2-lang.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/m2-lang.c b/gdb/m2-lang.c
index 528484f0f27..a54d188d0ad 100644
--- a/gdb/m2-lang.c
+++ b/gdb/m2-lang.c
@@ -45,7 +45,7 @@ static void m2_emit_char (int, struct ui_file *, int);
*/
static void
-m2_emit_char (register int c, struct ui_file *stream, int quoter)
+m2_emit_char (int c, struct ui_file *stream, int quoter)
{
c &= 0xFF; /* Avoid sign bit follies */
@@ -112,7 +112,7 @@ static void
m2_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;
@@ -198,7 +198,7 @@ m2_printstr (struct ui_file *stream, char *string, unsigned int length,
static struct type *
m2_create_fundamental_type (struct objfile *objfile, int typeid)
{
- register struct type *type = NULL;
+ struct type *type = NULL;
switch (typeid)
{