some minor fixes
This commit is contained in:
parent
a968ce8437
commit
dad1ab3b22
5 changed files with 5 additions and 5 deletions
|
@ -132,4 +132,4 @@
|
||||||
|
|
||||||
|
|
||||||
!File: static.h
|
!File: static.h
|
||||||
#define STATIC /* decl. spec. for large "static" arrays */
|
#define GSTATIC /* for large global "static" arrays */
|
||||||
|
|
|
@ -285,7 +285,7 @@ type2str(tp)
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
STATIC char trans_buf[MAXTRANS][300];
|
GSTATIC char trans_buf[MAXTRANS][300];
|
||||||
|
|
||||||
char * /* the ultimate transient buffer supplier */
|
char * /* the ultimate transient buffer supplier */
|
||||||
next_transient()
|
next_transient()
|
||||||
|
|
|
@ -446,7 +446,7 @@ setwdir(wdir, fn)
|
||||||
#ifndef NOPP
|
#ifndef NOPP
|
||||||
/* mk_filename() concatenates a dir and filename.
|
/* mk_filename() concatenates a dir and filename.
|
||||||
*/
|
*/
|
||||||
STATIC char path[PATHLENGTH];
|
GSTATIC char path[PATHLENGTH];
|
||||||
|
|
||||||
PRIVATE char *
|
PRIVATE char *
|
||||||
mk_filename(dir, file)
|
mk_filename(dir, file)
|
||||||
|
|
|
@ -143,7 +143,6 @@ compile(argc, argv)
|
||||||
int pp_only = options['E'] || options['P'];
|
int pp_only = options['E'] || options['P'];
|
||||||
#endif NOPP
|
#endif NOPP
|
||||||
|
|
||||||
source = strcmp(argv[0], "-") ? argv[0] : 0;
|
|
||||||
switch (argc) {
|
switch (argc) {
|
||||||
case 1:
|
case 1:
|
||||||
#ifndef NOPP
|
#ifndef NOPP
|
||||||
|
@ -162,6 +161,7 @@ compile(argc, argv)
|
||||||
fatal("use: %s source destination [namelist]", prog_name);
|
fatal("use: %s source destination [namelist]", prog_name);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
source = strcmp(argv[0], "-") ? argv[0] : 0;
|
||||||
|
|
||||||
#ifdef USE_TMP
|
#ifdef USE_TMP
|
||||||
strcpy(tmpf, tmpfdir);
|
strcpy(tmpf, tmpfdir);
|
||||||
|
|
|
@ -63,7 +63,7 @@ replace(idef)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
STATIC char FilNamBuf[PATHLENGTH];
|
GSTATIC char FilNamBuf[PATHLENGTH];
|
||||||
|
|
||||||
PRIVATE
|
PRIVATE
|
||||||
macro_func(idef)
|
macro_func(idef)
|
||||||
|
|
Loading…
Add table
Reference in a new issue