summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2008-07-16 00:57:36 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:16 +0200
commit21feb8b39f187d56e35134c4a12ef5e73f3e59d2 (patch)
tree0a1a06b4f2954cda899a95b50df8fda653dd36b2
parentcebb3e599473c53b5faa759f20da8279367bed69 (diff)
Fix (void) prototypes.
-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_ */