summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--device/cons.h6
-rw-r--r--kern/timer.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/device/cons.h b/device/cons.h
index be33d2b..a6b04ff 100644
--- a/device/cons.h
+++ b/device/cons.h
@@ -50,10 +50,10 @@ struct consdev {
extern struct consdev constab[];
#endif
-extern void cninit();
+extern void cninit(void);
-extern int cngetc();
+extern int cngetc(void);
-extern int cnmaygetc();
+extern int cnmaygetc(void);
extern void cnputc(char);
diff --git a/kern/timer.h b/kern/timer.h
index f2efffa..817fa35 100644
--- a/kern/timer.h
+++ b/kern/timer.h
@@ -180,6 +180,6 @@ MACRO_BEGIN \
} \
MACRO_END
-extern void init_timers();
+extern void init_timers(void);
#endif /* _KERN_TIMER_H_ */