Make this WARNS=6 clean by just constifying two local char pointers.
This commit is contained in:
parent
72ab1c9271
commit
d199702b34
@ -4,6 +4,7 @@
|
||||
PROG= nghook
|
||||
MAN= nghook.8
|
||||
SRCS= main.c
|
||||
WARNS= 6
|
||||
|
||||
DPADD= ${LIBNETGRAPH}
|
||||
LDADD= -lnetgraph
|
||||
|
@ -71,7 +71,8 @@ int
|
||||
main(int ac, char *av[])
|
||||
{
|
||||
struct ngm_connect ngc;
|
||||
char *path = NULL, *hook = DEFAULT_HOOKNAME;
|
||||
const char *path = NULL;
|
||||
const char *hook = DEFAULT_HOOKNAME;
|
||||
int csock, dsock;
|
||||
int asciiFlag = 0;
|
||||
int loopFlag = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user