|
Revision be3d695cb8ceeff9e35f67273a8e7fde28943e29, 408 bytes
(checked in by H. Peter Anvin <hpa@…>, 3 years ago)
|
|
Run Nindent on memdump/stdio.h
Automatically reformat memdump/stdio.h using Nindent.
Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).
Signed-off-by: H. Peter Anvin <hpa@…>
|
-
Property mode set to
100644
|
| Line | |
|---|
| 1 | #ifndef STDIO_H |
|---|
| 2 | #define STDIO_H |
|---|
| 3 | |
|---|
| 4 | #include <stdarg.h> |
|---|
| 5 | #include <stdlib.h> |
|---|
| 6 | |
|---|
| 7 | typedef unsigned int off_t; |
|---|
| 8 | |
|---|
| 9 | int putchar(int); |
|---|
| 10 | int puts(const char *); |
|---|
| 11 | int sprintf(char *buf, const char *fmt, ...); |
|---|
| 12 | int vsprintf(char *buf, const char *fmt, va_list args); |
|---|
| 13 | int printf(const char *fmt, ...); |
|---|
| 14 | |
|---|
| 15 | #define stdin 0 |
|---|
| 16 | #define stdout 1 |
|---|
| 17 | #define stderr 2 |
|---|
| 18 | |
|---|
| 19 | #define fprintf(x, y, ...) printf(y, ## __VA_ARGS__) |
|---|
| 20 | |
|---|
| 21 | #endif /* STDIO_H */ |
|---|