diff options
author | rsc <rsc> | 2006-07-16 15:36:31 +0000 |
---|---|---|
committer | rsc <rsc> | 2006-07-16 15:36:31 +0000 |
commit | 9b37d1bfaa65c96e7a465c285599aa45117182ea (patch) | |
tree | 58a2e6a4b3ecd7ad5921cfaab9dd5a78ad932448 /ulib.c | |
parent | b903b693ec1525f1c033fa8738f78a6d956f1adf (diff) | |
download | xv6-labs-9b37d1bfaa65c96e7a465c285599aa45117182ea.tar.gz xv6-labs-9b37d1bfaa65c96e7a465c285599aa45117182ea.tar.bz2 xv6-labs-9b37d1bfaa65c96e7a465c285599aa45117182ea.zip |
Add user.h for prototypes.
Add cons_puts for cleaner output.
Diffstat (limited to 'ulib.c')
-rw-r--r-- | ulib.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,6 +1,14 @@ +#include "user.h" + int puts(char *s) { + return cons_puts(s); +} + +int +puts1(char *s) +{ int i; for(i = 0; s[i]; i++) |