diff --git a/util/ego/share/show.c b/util/ego/share/show.c index b7e3d1a21..412409504 100644 --- a/util/ego/share/show.c +++ b/util/ego/share/show.c @@ -49,6 +49,16 @@ short getshort() return n; } +offset getoff() +{ + register offset n; + + n = (unsigned) getshort(); + n |= ((offset) getshort() ) << 16; + return n; +} + + int getint() { /* Read an integer from the input file. This routine is @@ -64,16 +74,6 @@ int getint() } -offset getoff() -{ - register offset n; - - n = (unsigned) getshort(); - n |= ((offset) getshort() ) << 16; - return n; -} - - /* VARARGS 1 */ error(s,a) char *s,*a; { @@ -184,7 +184,7 @@ showp() } -char *pseudo[] = {"hol", "bss", "rom", "con", "unknown" }; +char *pseudo[5] = {"hol", "bss", "rom", "con", "unknown" }; showd() {