summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-03-26 05:17:17 +0000
committerJim Meyering <jim@meyering.net>1999-03-26 05:17:17 +0000
commitc92de17d2f18759bb33a4e5e23a9b8cb11f82152 (patch)
tree21a3595681c0edf3b6551eb5cb13c46146d3d11c
parentc060f16ed7d5151b35f81c2f70006d2052ae1ea3 (diff)
downloadcoreutils-c92de17d2f18759bb33a4e5e23a9b8cb11f82152.tar.xz
define and use AUTHORS
-rw-r--r--src/chgrp.c4
-rw-r--r--src/chmod.c4
-rw-r--r--src/chown.c4
3 files changed, 9 insertions, 3 deletions
diff --git a/src/chgrp.c b/src/chgrp.c
index 891c275e7..a75bc90f0 100644
--- a/src/chgrp.c
+++ b/src/chgrp.c
@@ -34,6 +34,8 @@
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "chgrp"
+#define AUTHORS "David MacKenzie"
+
/* MAXUID may come from limits.h *or* sys/params.h (via system.h) above. */
#ifndef MAXUID
# define MAXUID UID_T_MAX
@@ -360,7 +362,7 @@ main (int argc, char **argv)
verbosity = V_high;
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, "David MacKenzie");
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (1);
}
diff --git a/src/chmod.c b/src/chmod.c
index 40597b7d1..e22096307 100644
--- a/src/chmod.c
+++ b/src/chmod.c
@@ -33,6 +33,8 @@
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "chmod"
+#define AUTHORS "David MacKenzie"
+
enum Change_status
{
CH_SUCCEEDED,
@@ -326,7 +328,7 @@ main (int argc, char **argv)
verbosity = V_high;
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, "David MacKenzie");
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (1);
}
diff --git a/src/chown.c b/src/chown.c
index 0904de6c3..e462931f4 100644
--- a/src/chown.c
+++ b/src/chown.c
@@ -45,6 +45,8 @@
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "chown"
+#define AUTHORS "David MacKenzie"
+
#ifndef _POSIX_VERSION
struct passwd *getpwnam ();
struct group *getgrnam ();
@@ -361,7 +363,7 @@ main (int argc, char **argv)
verbosity = V_high;
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, "David MacKenzie");
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (1);
}