summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
Diffstat (limited to 'auth')
-rw-r--r--auth/ChangeLog6
-rw-r--r--auth/auth.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/auth/ChangeLog b/auth/ChangeLog
index 2f82a470..55c978a7 100644
--- a/auth/ChangeLog
+++ b/auth/ChangeLog
@@ -1,3 +1,9 @@
+Thu Sep 5 11:05:37 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * auth.c (AUTH_VERSION): Delete macro.
+ (argp_program_version): Use STANDARD_HURD_VERSION.
+ (main): Pass empty string as release; HURD_VERSION as version.
+
Fri Jul 19 00:35:46 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
* auth.c (S_auth_makeauth): Deallocate initial reference to
diff --git a/auth/auth.c b/auth/auth.c
index d77c484e..5fd2897c 100644
--- a/auth/auth.c
+++ b/auth/auth.c
@@ -29,12 +29,12 @@
#include <idvec.h>
#include <assert.h>
#include <argp.h>
+#include <version.h>
#include "auth_S.h"
#include "auth_reply_U.h"
-#define AUTH_VERSION "0.0"
+char *argp_program_version = STANDARD_HURD_VERSION(auth);
-char *argp_program_version = "auth " AUTH_VERSION " (GNU " HURD_RELEASE ")";
/* Auth handles are server ports with sets of ids. */
struct authhandle
@@ -466,7 +466,7 @@ main (int argc, char **argv)
/* Register ourselves with the proc server and then start signals. */
proc_getprivports (proc, &hostpriv, &masterdev);
- proc_register_version (proc, hostpriv, "auth", HURD_RELEASE, AUTH_VERSION);
+ proc_register_version (proc, hostpriv, "auth", "", HURD_VERSION);
mach_port_deallocate (mach_task_self (), masterdev);
_hurd_port_set (&_hurd_ports[INIT_PORT_PROC], proc);
_hurd_proc_init (argv);