some minor fixes

This commit is contained in:
erikb 1986-09-17 12:31:45 +00:00
parent a968ce8437
commit dad1ab3b22
5 changed files with 5 additions and 5 deletions

View file

@ -132,4 +132,4 @@
!File: static.h
#define STATIC /* decl. spec. for large "static" arrays */
#define GSTATIC /* for large global "static" arrays */

View file

@ -285,7 +285,7 @@ type2str(tp)
return buf;
}
STATIC char trans_buf[MAXTRANS][300];
GSTATIC char trans_buf[MAXTRANS][300];
char * /* the ultimate transient buffer supplier */
next_transient()

View file

@ -446,7 +446,7 @@ setwdir(wdir, fn)
#ifndef NOPP
/* mk_filename() concatenates a dir and filename.
*/
STATIC char path[PATHLENGTH];
GSTATIC char path[PATHLENGTH];
PRIVATE char *
mk_filename(dir, file)

View file

@ -143,7 +143,6 @@ compile(argc, argv)
int pp_only = options['E'] || options['P'];
#endif NOPP
source = strcmp(argv[0], "-") ? argv[0] : 0;
switch (argc) {
case 1:
#ifndef NOPP
@ -162,6 +161,7 @@ compile(argc, argv)
fatal("use: %s source destination [namelist]", prog_name);
break;
}
source = strcmp(argv[0], "-") ? argv[0] : 0;
#ifdef USE_TMP
strcpy(tmpf, tmpfdir);

View file

@ -63,7 +63,7 @@ replace(idef)
return 1;
}
STATIC char FilNamBuf[PATHLENGTH];
GSTATIC char FilNamBuf[PATHLENGTH];
PRIVATE
macro_func(idef)