summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rm.c b/rm.c
index 057ae5f..3531f37 100644
--- a/rm.c
+++ b/rm.c
@@ -77,7 +77,7 @@ static int confirm(const char *p)
return 0;
}
-int rm(const char *p, const struct stat *st, int typeflag, struct FTW *f)
+static int rm(const char *p, const struct stat *st, int typeflag, struct FTW *f)
{
(void)typeflag; (void)f;
@@ -102,7 +102,7 @@ int rm(const char *p, const struct stat *st, int typeflag, struct FTW *f)
return 0;
}
-int main(int argc, char **argv)
+int main(int argc, char *argv[])
{
setlocale(LC_ALL, "");