summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-02-20 04:19:53 +0000
committerMiles Bader <miles@gnu.org>1997-02-20 04:19:53 +0000
commit6bff4381ae50375438a925341a29a39cd460e9b1 (patch)
tree453995ce182f09d1c4ae2f6f00cf7198b4f99006 /utils
parent281068143f937385574a5a5fe14292fabcd08081 (diff)
(argp_program_version): Make const.
Diffstat (limited to 'utils')
-rw-r--r--utils/fsysopts.c4
-rw-r--r--utils/hurdids.c4
-rw-r--r--utils/login.c2
-rw-r--r--utils/portinfo.c4
-rw-r--r--utils/ps.c4
-rw-r--r--utils/settrans.c2
-rw-r--r--utils/showtrans.c4
-rw-r--r--utils/storeinfo.c4
-rw-r--r--utils/sync.c4
-rw-r--r--utils/vminfo.c4
-rw-r--r--utils/vmstat.c4
-rw-r--r--utils/w.c2
12 files changed, 21 insertions, 21 deletions
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 <miles@gnu.ai.mit.edu>
@@ -32,7 +32,7 @@
#include <hurd/fsys.h>
-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 <miles@gnu.ai.mit.edu>
@@ -31,7 +31,7 @@
#include <error.h>
#include <hurd/id.h>
-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 <miles@gnu.ai.mit.edu>
@@ -35,7 +35,7 @@
#include <portinfo.h>
#include <portxlate.h>
-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 <miles@gnu.ai.mit.edu>
@@ -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 <hurd/fshelp.h>
#include <version.h>
-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 <miles@gnu.ai.mit.edu>
@@ -30,7 +30,7 @@
#include <error.h>
#include <argz.h>
-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 <miles@gnu.ai.mit.edu>
@@ -32,7 +32,7 @@
#include <hurd/fs.h>
#include <hurd/store.h>
-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 <argp.h>
#include <version.h>
-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 <miles@gnu.ai.mit.edu>
@@ -32,7 +32,7 @@
#include <mach/default_pager.h>
#include <hurd.h>
-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 <miles@gnu.ai.mit.edu>
@@ -32,7 +32,7 @@
#include <mach/default_pager.h>
#include <hurd.h>
-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