summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2022-12-25 20:41:46 -0500
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-12-27 00:00:50 +0100
commit84e0fb3f287864eca3a9322ef364b913f6a260bd (patch)
tree123333bce32a7d57c5112aa0d4c07b12821b6305 /util
parent63eefc08b5e762937118254ad0b82583cc38a2d2 (diff)
Fix some warnings with -Wmissing-prototypes.
Marked some functions as static (private) as needed and added missing includes. This also revealed some dead code which was removed. Note that -Wmissing-prototypes is not enabled here since there is a bunch more warnings. Message-Id: <Y6j72lWRL9rsYy4j@mars>
Diffstat (limited to 'util')
-rw-r--r--util/putchar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/putchar.c b/util/putchar.c
index 6f8e18ea..76c013ed 100644
--- a/util/putchar.c
+++ b/util/putchar.c
@@ -22,6 +22,7 @@
*/
#include <device/cons.h>
+#include <util/putchar.h>
int putchar(int c)
{