summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2004-08-03 18:43:43 +0000
committerharti <harti@FreeBSD.org>2004-08-03 18:43:43 +0000
commit908064976f12f9778e9d1e45bb629e53a60031e7 (patch)
treea184b4c324b893105b07adf553b4d78ad2b36e27 /usr.bin/make
parent3c17f077be63eec0bdf875fa8e0ecc97f31deb16 (diff)
downloadFreeBSD-src-908064976f12f9778e9d1e45bb629e53a60031e7.zip
FreeBSD-src-908064976f12f9778e9d1e45bb629e53a60031e7.tar.gz
Make the SIGCHLD handler static and declare its argument
as unused, so that make can be compiled with WARNS=3 again.
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c
index fd84a2f..bbc6ab5 100644
--- a/usr.bin/make/main.c
+++ b/usr.bin/make/main.c
@@ -412,8 +412,8 @@ chdir_verify_path(char *path, char *obpath)
return 0;
}
-void
-catch_child(int sig)
+static void
+catch_child(int sig __unused)
{
}
OpenPOWER on IntegriCloud