From: | Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxxxxxxxx> |
Date: | Tue, 15 Mar 2005 20:45:07 -0800 (PST) |
joerg 2005/03/15 20:45:07 PST DragonFly src repository Modified files: usr.sbin/ngctl config.c connect.c debug.c list.c main.c mkpeer.c msg.c name.c ngctl.h rmhook.c show.c shutdown.c status.c types.c write.c Log: 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. Revision Changes Path 1.3 +4 -5 src/usr.sbin/ngctl/config.c 1.3 +4 -6 src/usr.sbin/ngctl/connect.c 1.3 +3 -5 src/usr.sbin/ngctl/debug.c 1.3 +5 -7 src/usr.sbin/ngctl/list.c 1.3 +11 -13 src/usr.sbin/ngctl/main.c 1.3 +4 -6 src/usr.sbin/ngctl/mkpeer.c 1.3 +4 -6 src/usr.sbin/ngctl/msg.c 1.3 +4 -6 src/usr.sbin/ngctl/name.c 1.4 +1 -3 src/usr.sbin/ngctl/ngctl.h 1.3 +4 -6 src/usr.sbin/ngctl/rmhook.c 1.3 +5 -8 src/usr.sbin/ngctl/show.c 1.3 +4 -7 src/usr.sbin/ngctl/shutdown.c 1.3 +4 -6 src/usr.sbin/ngctl/status.c 1.3 +3 -5 src/usr.sbin/ngctl/types.c 1.3 +3 -5 src/usr.sbin/ngctl/write.c http://www.dragonflybsd.org/cvsweb/src/usr.sbin/ngctl/config.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/usr.sbin/ngctl/connect.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/usr.sbin/ngctl/debug.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/usr.sbin/ngctl/list.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/usr.sbin/ngctl/main.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/usr.sbin/ngctl/mkpeer.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/usr.sbin/ngctl/msg.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/usr.sbin/ngctl/name.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/usr.sbin/ngctl/ngctl.h.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/usr.sbin/ngctl/rmhook.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/usr.sbin/ngctl/show.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/usr.sbin/ngctl/shutdown.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/usr.sbin/ngctl/status.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/usr.sbin/ngctl/types.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/usr.sbin/ngctl/write.c.diff?r1=1.2&r2=1.3&f=u