openafs-void-star-pointers-20071031
[openafs.git] / src / cmd / test / itest.c
index 9f7f598..f6060e1 100644 (file)
@@ -17,19 +17,15 @@ RCSID
 #include <stdio.h>
 #include <com_err.h>
 
-static
-cproc1(as, arock)
-     char *arock;
-     struct cmd_syndesc *as;
+static int
+cproc1(struct cmd_syndesc *as, void *arock)
 {
     printf("in the apple command\n");
     return 0;
 }
 
-static
-cproc2(as, arock)
-     char *arock;
-     struct cmd_syndesc *as;
+static int
+cproc2(struct cmd_syndesc *as, void *arock)
 {
     register struct cmd_item *ti;
     printf("in the pear command\n");
@@ -44,17 +40,14 @@ cproc2(as, arock)
     return 0;
 }
 
-static void
-cproc3(as, arock)
-     char *arock;
-     struct cmd_syndesc *as;
+static int
+cproc3(struct cmd_syndesc *as, void *arock)
 {
     exit(0);
 }
 
-main(argc, argv)
-     int argc;
-     char **argv;
+int
+main(int argc, char **argv)
 {
     register struct cmd_syndesc *ts;
     char tline[1000];