summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2007-06-10 19:29:37 +0000
committerDenis Vlasenko2007-06-10 19:29:37 +0000
commita7c5d2c6d95b8e352845a2e7e7425ea6240f6389 (patch)
treeca100a0ecd58d67991e4fa757186c72a9a9d3593
parentb1e5addfedf9de4bf5dfa910756747b2b4c1f2bd (diff)
downloadbusybox-a7c5d2c6d95b8e352845a2e7e7425ea6240f6389.zip
busybox-a7c5d2c6d95b8e352845a2e7e7425ea6240f6389.tar.gz
getopt_mk_fifo_nod: heed warning
-rw-r--r--coreutils/libcoreutils/coreutils.h6
-rw-r--r--coreutils/libcoreutils/getopt_mk_fifo_nod.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/libcoreutils/coreutils.h b/coreutils/libcoreutils/coreutils.h
index 102c7b5..687c7cc 100644
--- a/coreutils/libcoreutils/coreutils.h
+++ b/coreutils/libcoreutils/coreutils.h
@@ -8,9 +8,9 @@
typedef int (*stat_func)(const char *fn, struct stat *ps);
-extern int cp_mv_stat2(const char *fn, struct stat *fn_stat, stat_func sf);
-extern int cp_mv_stat(const char *fn, struct stat *fn_stat);
+int cp_mv_stat2(const char *fn, struct stat *fn_stat, stat_func sf);
+int cp_mv_stat(const char *fn, struct stat *fn_stat);
-extern mode_t getopt_mk_fifo_nod(int argc, char **argv);
+mode_t getopt_mk_fifo_nod(int argc, char **argv);
#endif
diff --git a/coreutils/libcoreutils/getopt_mk_fifo_nod.c b/coreutils/libcoreutils/getopt_mk_fifo_nod.c
index 5065c38..6fd2de7 100644
--- a/coreutils/libcoreutils/getopt_mk_fifo_nod.c
+++ b/coreutils/libcoreutils/getopt_mk_fifo_nod.c
@@ -21,7 +21,7 @@
*/
#include "libbb.h"
-//#include "coreutils.h"
+#include "coreutils.h"
mode_t getopt_mk_fifo_nod(int argc, char **argv)
{