From a11d6d1880c96120029f0876ff8c190970ee222e Mon Sep 17 00:00:00 2001 From: "akkana%netscape.com" Date: Mon, 28 Sep 1998 19:06:17 +0000 Subject: [PATCH] Eliminate a bunch of warnings git-svn-id: svn://10.0.0.236/trunk@11225 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/lib/xlate/parseAFM.c | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/mozilla/lib/xlate/parseAFM.c b/mozilla/lib/xlate/parseAFM.c index 9ba7d2c5d37..1499f30131d 100644 --- a/mozilla/lib/xlate/parseAFM.c +++ b/mozilla/lib/xlate/parseAFM.c @@ -147,8 +147,7 @@ static char *keyStrings[] = { * reads all tokens until the next end-of-line. */ -static char *token(stream) - FILE *stream; +static char *token(FILE *stream) { int ch, idx; @@ -181,8 +180,7 @@ static char *token(stream) * more than one word (like Comment lines and FullName). */ -static char *linetoken(stream) - FILE *stream; +static char *linetoken(FILE *stream) { int ch, idx; @@ -213,8 +211,7 @@ static char *linetoken(stream) * The algorithm is a standard Knuth binary search. */ -static enum parseKey recognize(ident) - register char *ident; +static enum parseKey recognize(register char *ident) { int lower = 0, upper = (int) NOPE, midpoint, cmpvalue; BOOL found = FALSE; @@ -237,9 +234,7 @@ static enum parseKey recognize(ident) /************************* parseGlobals *****************************/ -static BOOL parseGlobals(fp, gfi) - FILE *fp; - register PS_FontInfo *gfi; +static BOOL parseGlobals(FILE *fp, register PS_FontInfo *gfi) { BOOL cont = TRUE, save = (gfi != NULL); int error = ok; @@ -363,9 +358,7 @@ static BOOL parseGlobals(fp, gfi) /************************* parseCharMetrics ************************/ -static int parseCharMetrics(fp, fi) - FILE *fp; - register PS_FontInfo *fi; +static int parseCharMetrics(FILE *fp, register PS_FontInfo *fi) { BOOL cont = TRUE; int error = ok, count = 0, code = 0;