Make this WARNS=6 clean by just constifying two local char pointers.

This commit is contained in:
harti 2003-08-13 07:51:06 +00:00
parent 72ab1c9271
commit d199702b34
2 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,7 @@
PROG= nghook
MAN= nghook.8
SRCS= main.c
WARNS= 6
DPADD= ${LIBNETGRAPH}
LDADD= -lnetgraph

View File

@ -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;