X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flib%2Fstdio.h;h=31be6d8353df7df90e3bde34c6860d1c6c24ad1b;hb=5d55ab9ce00fcf35009091e96882b33420ee16d8;hp=cf6c49e3ef7841360f6856b2ecb009c88d7bb1e0;hpb=cba5090a2ec2f4fdeba59a49efb223142f09e2b2;p=pintos-anon diff --git a/src/lib/stdio.h b/src/lib/stdio.h index cf6c49e..31be6d8 100644 --- a/src/lib/stdio.h +++ b/src/lib/stdio.h @@ -2,9 +2,10 @@ #define __LIB_STDIO_H #include +#include #include #include -#include +#include /* Predefined file handles. */ #define STDIN_FILENO 0 @@ -26,7 +27,7 @@ void putbuf (const char *, size_t); int hprintf (int, const char *, ...) PRINTF_FORMAT (2, 3); int vhprintf (int, const char *, va_list) PRINTF_FORMAT (2, 0); #endif -void hex_dump (const void *, size_t size, bool ascii); +void hex_dump (uintptr_t ofs, const void *, size_t size, bool ascii); /* Internal functions. */ void __vprintf (const char *format, va_list args,