mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-24 03:37:16 +00:00
Make this WARNS=6 clean by just constifying two local char pointers.
This commit is contained in:
parent
3af5ca9948
commit
7cfb043cce
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118860
|
@ -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 a new issue