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

This commit is contained in:
Hartmut Brandt 2003-08-13 07:51:06 +00:00
parent 3af5ca9948
commit 7cfb043cce
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118860
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;