#define KABADARGUMENT 1
#define KLOGEXIT(code) exit(code)
-int CommandProc();
+int CommandProc(struct cmd_syndesc *, void *);
static int zero_argc;
static char **zero_argv;
/* Start up sockets */
WSAStartup(0x0101, &WSAjunk);
- ts = cmd_CreateSyntax((char *) 0, CommandProc, 0, "obtain Kerberos authentication");
+ ts = cmd_CreateSyntax(NULL, CommandProc, NULL, "obtain Kerberos authentication");
#define aXFLAG 0
#define aPRINCIPAL 1
return !ok;
}
-CommandProc (as, arock)
- char *arock;
- struct cmd_syndesc *as;
+int
+CommandProc (struct cmd_syndesc *as, void *arock)
{
char name[MAXKTCNAMELEN];
char defaultCell[256];