Make global variables static
Remove WARNS from Makefile
This commit is contained in:
parent
66a86d242f
commit
1fbc22f5ed
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284063
@ -3,6 +3,4 @@
|
|||||||
|
|
||||||
PROG= mkstr
|
PROG= mkstr
|
||||||
|
|
||||||
WARNS?= 2
|
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -76,8 +76,8 @@ __FBSDID("$FreeBSD$");
|
|||||||
* existing error message file for recompilation of single routines.
|
* existing error message file for recompilation of single routines.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
FILE *mesgread, *mesgwrite;
|
static FILE *mesgread, *mesgwrite;
|
||||||
char name[100], *np;
|
static char name[100], *np;
|
||||||
|
|
||||||
void copystr(void);
|
void copystr(void);
|
||||||
int fgetNUL(char *, int, FILE *);
|
int fgetNUL(char *, int, FILE *);
|
||||||
@ -267,7 +267,7 @@ inithash(void)
|
|||||||
|
|
||||||
#define NBUCKETS 511
|
#define NBUCKETS 511
|
||||||
|
|
||||||
struct hash {
|
static struct hash {
|
||||||
long hval;
|
long hval;
|
||||||
unsigned hpt;
|
unsigned hpt;
|
||||||
struct hash *hnext;
|
struct hash *hnext;
|
||||||
|
Loading…
Reference in New Issue
Block a user