diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-09-11 21:54:49 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-09-11 21:54:49 +0000 |
commit | 831a1b8f79866566bc48e73f13d1278059f4514b (patch) | |
tree | 59f77ede8706a149849b64cc1506b59f1911b470 /loader | |
parent | 4f3492ea7ce32b20203682598d5a05e70d05c884 (diff) | |
download | anaconda-831a1b8f79866566bc48e73f13d1278059f4514b.tar.gz anaconda-831a1b8f79866566bc48e73f13d1278059f4514b.tar.xz anaconda-831a1b8f79866566bc48e73f13d1278059f4514b.zip |
okay, don't fix this prototype. then we get the built-in, and that's interesting
Diffstat (limited to 'loader')
-rw-r--r-- | loader/minilibc.c | 3 | ||||
-rw-r--r-- | loader/minilibc.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/loader/minilibc.c b/loader/minilibc.c index dbecd75d5..78702b34a 100644 --- a/loader/minilibc.c +++ b/loader/minilibc.c @@ -169,7 +169,7 @@ char * strchr(char * str, int ch) { return NULL; } -int printf(char * fmt, ...) { +void printf(char * fmt, ...) { char buf[2048]; char * start = buf; char * chptr = buf; @@ -205,5 +205,4 @@ int printf(char * fmt, ...) { start = NULL; } } - return 0; } diff --git a/loader/minilibc.h b/loader/minilibc.h index f013ebb66..16765be8e 100644 --- a/loader/minilibc.h +++ b/loader/minilibc.h @@ -138,7 +138,7 @@ void sleep(int secs); int strcmp(const char * a, const char * b); int strncmp(const char * a, const char * b, size_t len); void printint(int i); -int printf(char * fmt, ...); +void printf(char * fmt, ...); char * strchr(char * str, int ch); char * strncpy(char * dst, const char * src, size_t len); |