Pass const ** as second argument to the command functions,
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Wed, 16 Mar 2005 04:45:07 +0000 (04:45 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Wed, 16 Mar 2005 04:45:07 +0000 (04:45 +0000)
commit937f5bb981a58a70e50c474a187a7082880af143
tree60b9c6b5e99d2ac1659038e7ea4105efee8a6cad
parent5af3bab0494588c449c8227f3e4b8f4c78677166
Pass const ** as second argument to the command functions,
explicitly cast this away in calls to getopt. Change some
local variables to const char * as well, to match this.
15 files changed:
usr.sbin/ngctl/config.c
usr.sbin/ngctl/connect.c
usr.sbin/ngctl/debug.c
usr.sbin/ngctl/list.c
usr.sbin/ngctl/main.c
usr.sbin/ngctl/mkpeer.c
usr.sbin/ngctl/msg.c
usr.sbin/ngctl/name.c
usr.sbin/ngctl/ngctl.h
usr.sbin/ngctl/rmhook.c
usr.sbin/ngctl/show.c
usr.sbin/ngctl/shutdown.c
usr.sbin/ngctl/status.c
usr.sbin/ngctl/types.c
usr.sbin/ngctl/write.c