libaltos: fix test harness main type
authorKeith Packard <keithp@keithp.com>
Wed, 18 Dec 2013 20:15:22 +0000 (12:15 -0800)
committerKeith Packard <keithp@keithp.com>
Wed, 18 Dec 2013 20:15:22 +0000 (12:15 -0800)
Signed-off-by: Keith Packard <keithp@keithp.com>
libaltos/cjnitest.c

index f0fe78f764cf4abb703a65610b442f8e66ac5481..3a65c3d68b10cf8ffceda422ba0f93bf7aa8f551 100644 (file)
@@ -10,7 +10,8 @@ altos_puts(struct altos_file *file, char *string)
                altos_putchar(file, c);
 }
 
-main ()
+int
+main (int argc, char **argv)
 {
        struct altos_device     device;
        struct altos_list       *list;