summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--util/putchar.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9071325..8c2371d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,7 @@
declaration.
(Debugger): Add call to panic().
* kern/debug.h (panic): Add __attribute__ ((noreturn)) to declaration.
+ * util/putchar.c (putchar): Return printed char.
2006-11-13 Barry deFreese <bddebian@comcast.net>
diff --git a/util/putchar.c b/util/putchar.c
index 18f0f06..e349d20 100644
--- a/util/putchar.c
+++ b/util/putchar.c
@@ -24,5 +24,6 @@
int putchar(int c)
{
cnputc(c);
+ return c;
}