summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2006-11-14 22:59:59 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:55 +0200
commitdd9e281af1f295e55de1898780def050f03ac03b (patch)
treec6ab77ff963f9c395c2edd2d696950c8c95302e9
parent628f717ec2fbc9c0b59fd747df5b0e2d4e75a5ac (diff)
2006-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
* util/putchar.c (putchar): Return printed char.
-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;
}