summaryrefslogtreecommitdiff
path: root/src/env.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/env.c')
-rw-r--r--src/env.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/env.c b/src/env.c
index a9bc501df..963318023 100644
--- a/src/env.c
+++ b/src/env.c
@@ -84,14 +84,15 @@
int putenv ();
void error ();
-void usage ();
+
+static void usage ();
extern char **environ;
/* The name by which this program was run. */
char *program_name;
-static struct option longopts[] =
+static struct option const longopts[] =
{
{"ignore-environment", 0, NULL, 'i'},
{"unset", 1, NULL, 'u'},
@@ -157,7 +158,7 @@ main (argc, argv, envp)
error (errno == ENOENT ? 127 : 126, errno, "%s", argv[optind]);
}
-void
+static void
usage ()
{
fprintf (stderr, "\