From 6bff4381ae50375438a925341a29a39cd460e9b1 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 20 Feb 1997 04:19:53 +0000 Subject: (argp_program_version): Make const. --- utils/fsysopts.c | 4 ++-- utils/hurdids.c | 4 ++-- utils/login.c | 2 +- utils/portinfo.c | 4 ++-- utils/ps.c | 4 ++-- utils/settrans.c | 2 +- utils/showtrans.c | 4 ++-- utils/storeinfo.c | 4 ++-- utils/sync.c | 4 ++-- utils/vminfo.c | 4 ++-- utils/vmstat.c | 4 ++-- utils/w.c | 2 +- 12 files changed, 21 insertions(+), 21 deletions(-) (limited to 'utils') diff --git a/utils/fsysopts.c b/utils/fsysopts.c index b6d7e971..e8ddf145 100644 --- a/utils/fsysopts.c +++ b/utils/fsysopts.c @@ -1,6 +1,6 @@ /* Set options in a running filesystem - Copyright (C) 1995, 1996 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. Written by Miles Bader @@ -32,7 +32,7 @@ #include -char *argp_program_version = STANDARD_HURD_VERSION (fsysopts); +const char *argp_program_version = STANDARD_HURD_VERSION (fsysopts); static struct argp_option options[] = { diff --git a/utils/hurdids.c b/utils/hurdids.c index d48d0d69..b647b4ce 100644 --- a/utils/hurdids.c +++ b/utils/hurdids.c @@ -1,6 +1,6 @@ /* Show all hurd ids - Copyright (C) 1995, 1996 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. Written by Miles Bader @@ -31,7 +31,7 @@ #include #include -char *argp_program_version = STANDARD_HURD_VERSION (hurdids); +const char *argp_program_version = STANDARD_HURD_VERSION (hurdids); static struct argp_option options[] = { diff --git a/utils/login.c b/utils/login.c index cab40589..13e1cfee 100644 --- a/utils/login.c +++ b/utils/login.c @@ -51,7 +51,7 @@ exec_reauth (auth_t auth, int secure, int must_reauth, mach_port_t *ports, unsigned num_ports, mach_port_t *fds, unsigned num_fds); -char *argp_program_version = STANDARD_HURD_VERSION (login); +const char *argp_program_version = STANDARD_HURD_VERSION (login); /* Defaults for various login parameters. */ diff --git a/utils/portinfo.c b/utils/portinfo.c index 3f9ce6b5..c56027b0 100644 --- a/utils/portinfo.c +++ b/utils/portinfo.c @@ -1,6 +1,6 @@ /* Print information about a task's ports - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 1997 Free Software Foundation, Inc. Written by Miles Bader @@ -35,7 +35,7 @@ #include #include -char *argp_program_version = STANDARD_HURD_VERSION (portinfo); +const char *argp_program_version = STANDARD_HURD_VERSION (portinfo); static const struct argp_option options[] = { {0,0,0,0,0, 1}, diff --git a/utils/ps.c b/utils/ps.c index 4e479a23..b338791e 100644 --- a/utils/ps.c +++ b/utils/ps.c @@ -1,6 +1,6 @@ /* Show process information. - Copyright (C) 1995, 1996 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. Written by Miles Bader @@ -34,7 +34,7 @@ #include "psout.h" -char *argp_program_version = STANDARD_HURD_VERSION (ps); +const char *argp_program_version = STANDARD_HURD_VERSION (ps); #define OA OPTION_ARG_OPTIONAL diff --git a/utils/settrans.c b/utils/settrans.c index 86e4ec99..9230fb7a 100644 --- a/utils/settrans.c +++ b/utils/settrans.c @@ -31,7 +31,7 @@ #include #include -char *argp_program_version = STANDARD_HURD_VERSION (settrans); +const char *argp_program_version = STANDARD_HURD_VERSION (settrans); #define DEFAULT_TIMEOUT 60 diff --git a/utils/showtrans.c b/utils/showtrans.c index 1ddef038..ebac9ccc 100644 --- a/utils/showtrans.c +++ b/utils/showtrans.c @@ -1,6 +1,6 @@ /* Show files' passive translators. - Copyright (C) 1995, 1996 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. Written by Miles Bader @@ -30,7 +30,7 @@ #include #include -char *argp_program_version = STANDARD_HURD_VERSION (showtrans); +const char *argp_program_version = STANDARD_HURD_VERSION (showtrans); static struct argp_option options[] = { diff --git a/utils/storeinfo.c b/utils/storeinfo.c index 46ad1624..13a5cfb2 100644 --- a/utils/storeinfo.c +++ b/utils/storeinfo.c @@ -1,6 +1,6 @@ /* Show where a file exists - Copyright (C) 1995, 1996 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. Written by Miles Bader @@ -32,7 +32,7 @@ #include #include -char *argp_program_version = STANDARD_HURD_VERSION (storeinfo); +const char *argp_program_version = STANDARD_HURD_VERSION (storeinfo); static struct argp_option options[] = { diff --git a/utils/sync.c b/utils/sync.c index c03ed2d2..81099407 100644 --- a/utils/sync.c +++ b/utils/sync.c @@ -1,5 +1,5 @@ /* Call sync synchronously. - Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. + Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. Written by Michael I. Bushnell. This file is part of the GNU Hurd. @@ -22,7 +22,7 @@ #include #include -char *argp_program_version = STANDARD_HURD_VERSION (sync); +const char *argp_program_version = STANDARD_HURD_VERSION (sync); int main (int argc, char *argv[]) diff --git a/utils/vminfo.c b/utils/vminfo.c index 7d56378a..73ddb99d 100644 --- a/utils/vminfo.c +++ b/utils/vminfo.c @@ -1,6 +1,6 @@ /* Print task vm information - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 1997 Free Software Foundation, Inc. Written by Miles Bader @@ -32,7 +32,7 @@ #include #include -char *argp_program_version = STANDARD_HURD_VERSION (vminfo); +const char *argp_program_version = STANDARD_HURD_VERSION (vminfo); static const struct argp_option options[] = { {"verbose", 'v', 0, 0, "Give more detailed information"}, diff --git a/utils/vmstat.c b/utils/vmstat.c index d3d1e998..418f2878 100644 --- a/utils/vmstat.c +++ b/utils/vmstat.c @@ -1,6 +1,6 @@ /* Print vm statistics - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 1997 Free Software Foundation, Inc. Written by Miles Bader @@ -32,7 +32,7 @@ #include #include -char *argp_program_version = STANDARD_HURD_VERSION (vmstat); +const char *argp_program_version = STANDARD_HURD_VERSION (vmstat); static const struct argp_option options[] = { {"terse", 't', 0, 0, "Use short one-line output format"}, diff --git a/utils/w.c b/utils/w.c index efbb724a..1e928f29 100644 --- a/utils/w.c +++ b/utils/w.c @@ -49,7 +49,7 @@ extern char *canon_host (char *host); extern char *shared_domain (char *host1, char *host2); extern char *localhost (); -char *argp_program_version = STANDARD_HURD_VERSION (w); +const char *argp_program_version = STANDARD_HURD_VERSION (w); #define OA OPTION_ARG_OPTIONAL -- cgit v1.2.3