summaryrefslogtreecommitdiff
path: root/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'nfs')
-rw-r--r--nfs/ChangeLog6
-rw-r--r--nfs/main.c6
2 files changed, 12 insertions, 0 deletions
diff --git a/nfs/ChangeLog b/nfs/ChangeLog
index 07ab1cd0..0ddff51b 100644
--- a/nfs/ChangeLog
+++ b/nfs/ChangeLog
@@ -1,3 +1,9 @@
+2002-05-13 Marcus Brinkmann <marcus@gnu.org>
+
+ * main.c: Include <version.h>.
+ (netfs_server_name, netfs_server_version, argp_program_version):
+ New variables.
+
2002-05-08 Roland McGrath <roland@frob.com>
* storage-info.c (netfs_file_get_storage_info): Cast %* arg to int.
diff --git a/nfs/main.c b/nfs/main.c
index c5a53cdb..48852062 100644
--- a/nfs/main.c
+++ b/nfs/main.c
@@ -30,6 +30,10 @@
#include <argp.h>
#include <argz.h>
#include <error.h>
+#include <version.h>
+
+char *netfs_server_name = "nfs";
+char *netfs_server_version = HURD_VERSION;
extern char *localhost ();
@@ -109,6 +113,8 @@ int write_size = DEFAULT_WRITE_SIZE;
#define __D(what) ___D(what)
#define _D(what) __D(DEFAULT_ ## what)
+const char *argp_program_version = STANDARD_HURD_VERSION (nfs);
+
/* Options usable both at startup and at runtime. */
static const struct argp_option common_options[] =
{