openafs-void-star-pointers-20071031
[openafs.git] / src / afsweb / weblog.c
index 54450d3..8f5a95c 100644 (file)
@@ -123,7 +123,7 @@ main(int argc, char **argv)
     zero_argc = argc;
     zero_argv = argv;
 
-    ts = cmd_CreateSyntax(NULL, CommandProc, 0,
+    ts = cmd_CreateSyntax(NULL, CommandProc, NULL,
                          "obtain Kerberos authentication for web servers");
 
 /* define the command line arguments */
@@ -285,10 +285,8 @@ makeNewPAG()
  * arrive through a pipe from the httpds, authenticates the user and
  * returns a token (or a failure message) over the pipe
  */
-CommandProc(as, arock)
-     char *arock;
-     struct cmd_syndesc *as;
-
+static int
+CommandProc(struct cmd_syndesc *as, void *arock)
 {
     char name[MAXKTCNAMELEN];
     char cell[MAXKTCREALMLEN];