summaryrefslogtreecommitdiff
path: root/util
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 /util
parent628f717ec2fbc9c0b59fd747df5b0e2d4e75a5ac (diff)
2006-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
* util/putchar.c (putchar): Return printed char.
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 18f0f06..e349d20 100644
--- a/util/putchar.c
+++ b/util/putchar.c
@@ -24,5 +24,6 @@
int putchar(int c)
{
cnputc(c);
+ return c;
}