summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-12-18 12:15:22 -0800
committerKeith Packard <keithp@keithp.com>2013-12-18 12:15:22 -0800
commit36197a388a9ba1d1ee4acd96ac0079ad3af9d3d0 (patch)
tree81cc2be1b61db432438f7f105c5458ffb9da6f15
parent119dd56512404e0c39dd5001ba4da9373515c02c (diff)
libaltos: fix test harness main type
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--libaltos/cjnitest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libaltos/cjnitest.c b/libaltos/cjnitest.c
index f0fe78f7..3a65c3d6 100644
--- a/libaltos/cjnitest.c
+++ b/libaltos/cjnitest.c
@@ -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;