From 816d2dc8226f8d271aa1a6cd30549614769d5267 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 27 Oct 2021 17:30:36 +0200 Subject: Use a blank line at most --- backend/dvi/mdvi-lib/afmparse.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'backend/dvi/mdvi-lib/afmparse.c') diff --git a/backend/dvi/mdvi-lib/afmparse.c b/backend/dvi/mdvi-lib/afmparse.c index f8d840b7..f01042d2 100644 --- a/backend/dvi/mdvi-lib/afmparse.c +++ b/backend/dvi/mdvi-lib/afmparse.c @@ -81,13 +81,10 @@ #define MATCH(A,B) (strncmp((A),(B), MAX_NAME) == 0) - - /*************************** GLOBALS ***********************/ static char *ident = NULL; /* storage buffer for keywords */ - /* "shorts" for fast case statement * The values of each of these enumerated items correspond to an entry in the * table of strings defined below. Therefore, if you add a new string as @@ -175,7 +172,6 @@ static char *token(FILE *stream) } /* token */ - /*************************** linetoken *************************/ /* "linetoken" will get read all tokens until the EOL character from @@ -203,7 +199,6 @@ static char *linetoken(FILE *stream) } /* linetoken */ - /*************************** recognize *************************/ /* This function tries to match a string to a known list of @@ -234,7 +229,6 @@ static enum parseKey recognize(char *ident) } /* recognize */ - /************************* parseGlobals *****************************/ /* This function is called by "parseFile". It will parse the AFM File @@ -401,8 +395,6 @@ static BOOL parseGlobals(FILE *fp, GlobalFontInfo *gfi) } /* parseGlobals */ - - #if 0 /* this function does not seem to be used anywhere */ /************************* initializeArray ************************/ @@ -584,7 +576,6 @@ static int parseCharWidths(FILE *fp, int *cwi) } /* parseCharWidths */ - /************************* parseCharMetrics ************************/ /* This function is called by parseFile if the caller of parseFile @@ -694,8 +685,6 @@ static int parseCharMetrics(FILE *fp, FontInfo *fi) } /* parseCharMetrics */ - - /************************* parseTrackKernData ***********************/ /* This function is called by "parseFile". It will parse the AFM File @@ -797,7 +786,6 @@ static int parseTrackKernData(FILE *fp, FontInfo *fi) } /* parseTrackKernData */ - /************************* parsePairKernData ************************/ /* This function is called by "parseFile". It will parse the AFM File @@ -918,7 +906,6 @@ static int parsePairKernData(FILE *fp, FontInfo *fi) } /* parsePairKernData */ - /************************* parseCompCharData **************************/ /* This function is called by "parseFile". It will parse the AFM File @@ -1043,12 +1030,8 @@ static int parseCompCharData(FILE *fp, FontInfo *fi) } /* parseCompCharData */ - - - /*************************** 'PUBLIC' FUNCTION ********************/ - /*************************** parseFile *****************************/ /* parseFile is the only 'public' procedure available. It is called @@ -1078,7 +1061,6 @@ extern int afm_parse_file(FILE *fp, FontInfo **fi, FLAGS flags) register char *keyword; /* used to store a token */ - /* storage data for the global variable ident */ ident = (char *) calloc(MAX_NAME, sizeof(char)); if (ident == NULL) {error = storageProblem; return(error);} -- cgit v1.2.1