summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-07-23 20:06:19 +0000
committerMiles Bader <miles@gnu.org>1996-07-23 20:06:19 +0000
commitc3c3528d4b40dcf014f850a4b3e95c8be20b0532 (patch)
tree2bdd9ae901406f400bba76ef0327cdd757816d54 /libdiskfs
parent1d00ef22e528d9768365000959fc8259d61d5d0a (diff)
(_print_version): Make return type void.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/opts-version.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libdiskfs/opts-version.c b/libdiskfs/opts-version.c
index 10ec034d..0e9d4098 100644
--- a/libdiskfs/opts-version.c
+++ b/libdiskfs/opts-version.c
@@ -22,7 +22,7 @@
#include "priv.h"
-static error_t
+static void
_print_version (FILE *stream, struct argp_state *state)
{
if (argp_program_version)
@@ -34,7 +34,6 @@ _print_version (FILE *stream, struct argp_state *state)
fprintf (stream, "%s %d.%d (GNU %s)\n",
diskfs_server_name, diskfs_major_version, diskfs_minor_version,
HURD_RELEASE);
- return 0;
}
void (*argp_program_version_hook) (FILE *stream, struct argp_state *state)