File ash-1.6.1-suse.warnings.diff of Package ash
--- miscbltin.c.xx 2006-09-09 17:58:24.000000000 +0200
+++ miscbltin.c 2006-09-09 17:59:30.000000000 +0200
@@ -54,6 +54,7 @@
#include <sys/time.h>
#include <sys/resource.h>
#include <unistd.h>
+#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <errno.h>
@@ -415,8 +416,7 @@
return 0;
}
-
-
+void
raidautoruncmd(argc, argv) char **argv; {
int fd = open("/dev/md0", O_RDWR);
@@ -439,6 +439,7 @@
mkdir(dir, 0755);
}
+void
createpartitiondevscmd(argc, argv) char **argv; {
char line[1024], c, *lp, *l[4], *p;
char buf[4096], *bufp = 0;
@@ -491,6 +492,7 @@
close(fd);
}
+void
devnumbercmd(argc, argv) char **argv; {
struct stat stb;