summaryrefslogtreecommitdiff
path: root/pfinet
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet')
-rw-r--r--pfinet/ChangeLog5
-rw-r--r--pfinet/main.c5
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;