summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-01-10 22:25:31 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-01-10 22:25:31 +0000
commit34b1b39a5b8200b08fdc57142ba2d119cd89c6e2 (patch)
treedc72deeab589997be27074ebbcb951ba9c3a95a5 /mdk-stage1
parente35c03fed1a04daba9aa065d23b7fd120c232305 (diff)
downloaddrakx-34b1b39a5b8200b08fdc57142ba2d119cd89c6e2.tar
drakx-34b1b39a5b8200b08fdc57142ba2d119cd89c6e2.tar.gz
drakx-34b1b39a5b8200b08fdc57142ba2d119cd89c6e2.tar.bz2
drakx-34b1b39a5b8200b08fdc57142ba2d119cd89c6e2.tar.xz
drakx-34b1b39a5b8200b08fdc57142ba2d119cd89c6e2.zip
remove warnings from compile
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/dietlibc/lib/ttyname.c1
-rw-r--r--mdk-stage1/dietlibc/lib/vsscanf.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/mdk-stage1/dietlibc/lib/ttyname.c b/mdk-stage1/dietlibc/lib/ttyname.c
index a6b479088..81a0cbc66 100644
--- a/mdk-stage1/dietlibc/lib/ttyname.c
+++ b/mdk-stage1/dietlibc/lib/ttyname.c
@@ -1,6 +1,7 @@
#include "dietfeatures.h"
#include <unistd.h>
#include <sys/stat.h>
+#include <string.h>
#ifdef __linux__
diff --git a/mdk-stage1/dietlibc/lib/vsscanf.c b/mdk-stage1/dietlibc/lib/vsscanf.c
index e370062e7..a646ad92d 100644
--- a/mdk-stage1/dietlibc/lib/vsscanf.c
+++ b/mdk-stage1/dietlibc/lib/vsscanf.c
@@ -22,9 +22,11 @@ int vsscanf(const char *str, const char *format, va_list arg_ptr)
unsigned long width;
+#ifdef WANT_FLOATING_POINT_IN_SCANF
/* arg_ptr tmps */
double d,*pd;
float *pf;
+#endif
long l=0,*pl;
short *ph;