summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-09-11 21:54:49 +0000
committerJeremy Katz <katzj@redhat.com>2002-09-11 21:54:49 +0000
commit831a1b8f79866566bc48e73f13d1278059f4514b (patch)
tree59f77ede8706a149849b64cc1506b59f1911b470 /loader
parent4f3492ea7ce32b20203682598d5a05e70d05c884 (diff)
downloadanaconda-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.c3
-rw-r--r--loader/minilibc.h2
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);