summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-11-23 09:03:23 +0100
committerJim Meyering <meyering@redhat.com>2007-11-23 09:03:23 +0100
commitad8fbe0dd2c77fe41457311f91bfcf49b0bf7616 (patch)
treea1bdfc64822467a4a76520c16291b9fb4c04b96e
parent0e9b06482efea407a7a90630c9e62d9bec5e94f4 (diff)
downloadcoreutils-ad8fbe0dd2c77fe41457311f91bfcf49b0bf7616.tar.xz
* src/runcon.c (main): Remove unused parameter, "envp".
-rw-r--r--ChangeLog2
-rw-r--r--src/runcon.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1473f7ef3..b34ad8da1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2007-11-23 Jim Meyering <meyering@redhat.com>
+ * src/runcon.c (main): Remove unused parameter, "envp".
+
Add tests to show new class of strings accepted by date -d.
* tests/misc/date (rel-1day, rel-plus1): New tests for the recent
change in gnulib's getdate.y.
diff --git a/src/runcon.c b/src/runcon.c
index 1d79ef6ff..85e5f59b0 100644
--- a/src/runcon.c
+++ b/src/runcon.c
@@ -90,7 +90,7 @@ With neither CONTEXT nor COMMAND, print the current security context.\n\
}
int
-main (int argc, char **argv, char **envp)
+main (int argc, char **argv)
{
char *role = NULL;
char *range = NULL;