diff options
author | Michael Brown <mcb30@ipxe.org> | 2012-03-26 14:43:52 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2012-03-26 14:43:52 +0100 |
commit | a6d49c17c9ef82420138a51b52a9ce57074650db (patch) | |
tree | 1931f96976c9a733b8f07d1ae0269d84ac0f113c /src/include/stdio.h | |
parent | d1465f7b0b4e3df4af1abf65462fe1d89e53a80a (diff) | |
download | ipxe-a6d49c17c9ef82420138a51b52a9ce57074650db.tar.gz |
[console] Move putchar() and getchar() declarations to stdio.h
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/stdio.h')
-rw-r--r-- | src/include/stdio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/stdio.h b/src/include/stdio.h index 84181f0a1..91840af5b 100644 --- a/src/include/stdio.h +++ b/src/include/stdio.h @@ -6,6 +6,10 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include <stdint.h> #include <stdarg.h> +extern void putchar ( int character ); + +extern int getchar ( void ); + extern int __attribute__ (( format ( printf, 1, 2 ) )) printf ( const char *fmt, ... ); |