diff options
author | Karl Berry <karl@freefriends.org> | 2010-03-28 18:14:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-03-28 18:14:06 +0000 |
commit | 20a73306c88f8fdb131482213e9b1b6a8c5e729b (patch) | |
tree | be5857d40602520beebe30c48e31306bbc0e9d17 /Build/source/texk/dvipsk/search.c | |
parent | 549a764cf19a1f244d773ab70965eadeef67d5a8 (diff) |
eliminate spaces before semicolons
git-svn-id: svn://tug.org/texlive/trunk@17592 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/search.c')
-rw-r--r-- | Build/source/texk/dvipsk/search.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/Build/source/texk/dvipsk/search.c b/Build/source/texk/dvipsk/search.c index 16a930293cf..df08033240b 100644 --- a/Build/source/texk/dvipsk/search.c +++ b/Build/source/texk/dvipsk/search.c @@ -24,8 +24,8 @@ #define GUNZIP "gzip -d" #endif -int to_close ; /* use fclose or pclose? */ -char *realnameoffile ; +int to_close; /* use fclose or pclose? */ +char *realnameoffile; /* Return safely quoted version of NAME. That means using "..." on Windows and '...' on Unix, with any occurrences of the quote char @@ -213,21 +213,21 @@ pksearch(const char *file, const char *mode, halfword dpi, FILE * my_real_fopen(register const char *n, register const char *t) { - FILE *tf ; + FILE *tf; if (dd(D_FILES)) { - fprintf(stderr, "<%s(%s)> ", n, t) ; - tf = fopen(n, t) ; + fprintf(stderr, "<%s(%s)> ", n, t); + tf = fopen(n, t); if (tf == 0) - fprintf(stderr, "failed\n") ; + fprintf(stderr, "failed\n"); else - fprintf(stderr, "succeeded\n") ; + fprintf(stderr, "succeeded\n"); } else - tf = fopen(n, t) ; + tf = fopen(n, t); #ifdef OS2 if (tf == (FILE *)NULL) tf = fat_fopen(n, t); /* try again with filename truncated to 8.3 */ #endif - return tf ; + return tf; } #endif @@ -289,15 +289,15 @@ fat_fopen(char *fname, char *t) strcpy(np,nbuf); /* now code copied from my_real_fopen() */ if (dd(D_FILES)) { - fprintf(stderr, "<%s(%s)> ", n, t) ; - tf = fopen(n, t) ; + fprintf(stderr, "<%s(%s)> ", n, t); + tf = fopen(n, t); if (tf == 0) - fprintf(stderr, "failed\n") ; + fprintf(stderr, "failed\n"); else - fprintf(stderr, "succeeded\n") ; + fprintf(stderr, "succeeded\n"); } else - tf = fopen(n, t) ; + tf = fopen(n, t); return tf; } return (FILE *)NULL; @@ -308,8 +308,8 @@ int close_file(FILE *f) { switch(to_close) { -case USE_PCLOSE: return pclose(f) ; -case USE_FCLOSE: return fclose(f) ; -default: return -1 ; +case USE_PCLOSE: return pclose(f); +case USE_FCLOSE: return fclose(f); +default: return -1; } } |