diff options
author | Thomas Bushnell <thomas@gnu.org> | 1996-09-06 19:57:20 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1996-09-06 19:57:20 +0000 |
commit | 61a2d535351e8bc1f91477d0864035d89dd718f2 (patch) | |
tree | a95eb6dd1bf5ad9eb235e39565a542c3796502a5 /libdiskfs | |
parent | be629aec8aae6f0ee7da37f76ed0247ecd216c8a (diff) |
*** empty log message ***
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/ChangeLog | 4 | ||||
-rw-r--r-- | libdiskfs/extra-version.c | 24 | ||||
-rw-r--r-- | libdiskfs/opts-version.c | 1 |
3 files changed, 27 insertions, 2 deletions
diff --git a/libdiskfs/ChangeLog b/libdiskfs/ChangeLog index 03f07fd0..986d18dc 100644 --- a/libdiskfs/ChangeLog +++ b/libdiskfs/ChangeLog @@ -10,8 +10,8 @@ Thu Sep 5 11:13:54 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> diskfs_server_version; pass empty string as release. * extra-version.c: New file. * Makefile (OTHERSRCS): Add extra-version.c. - * opts-version.c (diskfs_extra_version): Delete special - declaration. + * opts-version.c: Include <version.h>. + (diskfs_extra_version): Delete special declaration. (_print_version): Use the user's provided version number, and also give it our (libdiskfs) version number. diff --git a/libdiskfs/extra-version.c b/libdiskfs/extra-version.c new file mode 100644 index 00000000..b1d78084 --- /dev/null +++ b/libdiskfs/extra-version.c @@ -0,0 +1,24 @@ +/* Default value for diskfs_extra_version + Copyright (C) 1996 Free Software Foundation, Inc. + Written by Thomas Bushnell, n/BSG. + + This file is part of the GNU Hurd. + + The GNU Hurd is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2, or (at + your option) any later version. + + The GNU Hurd is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ + + +#include "priv.h" + +char *diskfs_extra_version = ""; diff --git a/libdiskfs/opts-version.c b/libdiskfs/opts-version.c index a42a79d6..6cf3ad42 100644 --- a/libdiskfs/opts-version.c +++ b/libdiskfs/opts-version.c @@ -21,6 +21,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "priv.h" +#include <version.h> static void _print_version (FILE *stream, struct argp_state *state) |