openafs-void-star-pointers-20071031
[openafs.git] / src / gtx / screen_test.c
index 5247bf2..c9e39ba 100644 (file)
@@ -224,10 +224,7 @@ test_this_package(pkg)
  *--------------------------------------------------------------------------------*/
 
 static int
-screen_testInit(as, arock)
-     struct cmd_syndesc *as;
-     char *arock;
-
+screen_testInit(struct cmd_syndesc *as, void *arock)
 {                              /*screen_testInit */
 
     static char rn[] = "screen_testInit";      /*Routine name */
@@ -280,7 +277,7 @@ main(argc, argv)
      * There really aren't any opcodes here, but we do want to interpret switches
      * from the command line.  So, all we need do is set up the initcmd ``opcode''.
      */
-    ts = cmd_CreateSyntax("initcmd", screen_testInit, 0,
+    ts = cmd_CreateSyntax("initcmd", screen_testInit, NULL,
                          "Initialize, interpret command line");
     cmd_AddParm(ts, "-package", CMD_SINGLE, CMD_REQUIRED,
                "Graphics package to use");