diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2002-05-13 17:12:08 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2002-05-13 17:12:08 +0000 |
commit | 6ac3cf7d07156151ab104f4df9c007b6581ed6e9 (patch) | |
tree | b5a393dc66ebf2fc7440837e9ae4b396bd92e3f9 | |
parent | d33ca129628496d1979d12988b120b2034f85f3f (diff) |
2002-05-13 Marcus Brinkmann <marcus@gnu.org>
* main.c: Include <version.h>.
(argp_program_version): New variable.
-rw-r--r-- | pfinet/ChangeLog | 5 | ||||
-rw-r--r-- | pfinet/main.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/pfinet/ChangeLog b/pfinet/ChangeLog index 3eedcb73..ef4e1deb 100644 --- a/pfinet/ChangeLog +++ b/pfinet/ChangeLog @@ -1,3 +1,8 @@ +2002-05-13 Marcus Brinkmann <marcus@gnu.org> + + * main.c: Include <version.h>. + (argp_program_version): New variable. + 2002-05-03 Roland McGrath <roland@frob.com> * timer-emul.c (timer_function): Add a return stmt. diff --git a/pfinet/main.c b/pfinet/main.c index e5cac55f..9337b27a 100644 --- a/pfinet/main.c +++ b/pfinet/main.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1995,96,97,99,2000 Free Software Foundation, Inc. + Copyright (C) 1995,96,97,99,2000,02 Free Software Foundation, Inc. Written by Michael I. Bushnell, p/BSG. This file is part of the GNU Hurd. @@ -27,6 +27,7 @@ #include <hurd/startup.h> #include <string.h> #include <fcntl.h> +#include <version.h> #include <linux/netdevice.h> #include <linux/inet.h> @@ -49,6 +50,8 @@ int trivfs_cntl_nportclasses = 1; struct port_class *shutdown_notify_class; +const char *argp_program_version = STANDARD_HURD_VERSION (pfinet); + /* Option parser. */ extern struct argp pfinet_argp; |