summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-11-01 11:32:18 -0400
committerJakob Kaivo <jkk@ung.org>2019-11-01 11:32:18 -0400
commit1e997b56561b4e5a1f352950d4f59a72e7d2a63a (patch)
tree5146c676753cf3516d331aa38fcf589f1f0b0d26
parent3a103635ca02d4e8ddb2fb5259178a60638e6e89 (diff)
style
-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, "");