From 9d9673c71525662dfa503e2d6e28858d156dacad Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Wed, 18 Mar 2009 11:30:53 +0100 Subject: [PATCH] pax(1): Fix WARNS regression --- bin/pax/options.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/pax/options.c b/bin/pax/options.c index 57dbd10ef4..b808bfe2b1 100644 --- a/bin/pax/options.c +++ b/bin/pax/options.c @@ -74,6 +74,7 @@ static void tar_options (int, char **); static void tar_usage (void); static void cpio_options (int, char **); static void cpio_usage (void); +static int mkpath(char *path); /* errors from getline */ #define GETLINE_FILE_CORRUPT 1 @@ -967,7 +968,7 @@ tar_options(int argc, char **argv) } } -int +static int mkpath(char *path) { struct stat sb; -- 2.11.4.GIT