diff options
author | Michael Brown | 2012-03-26 15:43:52 +0200 |
---|---|---|
committer | Michael Brown | 2012-03-26 15:43:52 +0200 |
commit | a6d49c17c9ef82420138a51b52a9ce57074650db (patch) | |
tree | 1931f96976c9a733b8f07d1ae0269d84ac0f113c /src/include/stdio.h | |
parent | [image] Add the "imgtrust" and "imgverify" commands (diff) | |
download | ipxe-a6d49c17c9ef82420138a51b52a9ce57074650db.tar.gz ipxe-a6d49c17c9ef82420138a51b52a9ce57074650db.tar.xz ipxe-a6d49c17c9ef82420138a51b52a9ce57074650db.zip |
[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 84181f0a..91840af5 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, ... ); |