diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2002-05-13 17:30:40 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2002-05-13 17:30:40 +0000 |
commit | 82b2e078afafab745efe0157140415ebcc34b08f (patch) | |
tree | cb62dcb8dd75e9fae0daffa6fc586f56103f24d1 | |
parent | 6ac3cf7d07156151ab104f4df9c007b6581ed6e9 (diff) |
2002-05-13 Marcus Brinkmann <marcus@gnu.org>
* boot.c: Include <version.h>
(argp_program_version): New variable.
-rw-r--r-- | boot/ChangeLog | 5 | ||||
-rw-r--r-- | boot/boot.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/boot/ChangeLog b/boot/ChangeLog index 670e3f28..5457e53d 100644 --- a/boot/ChangeLog +++ b/boot/ChangeLog @@ -1,3 +1,8 @@ +2002-05-13 Marcus Brinkmann <marcus@gnu.org> + + * boot.c: Include <version.h> + (argp_program_version): New variable. + 2002-03-23 James A. Morrison <ja2morri@uwaterloo.ca> * boot.c (main): Use error, not perror and exit. diff --git a/boot/boot.c b/boot/boot.c index 01d0be25..f3af5ef8 100644 --- a/boot/boot.c +++ b/boot/boot.c @@ -37,6 +37,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <argp.h> #include <hurd/store.h> #include <sys/mman.h> +#include <version.h> #include "notify_S.h" #include "exec_S.h" @@ -393,6 +394,8 @@ boot_script_exec_cmd (void *hook, return 0; } +const char *argp_program_version = STANDARD_HURD_VERSION (boot); + static struct argp_option options[] = { { "boot-root", 'D', "DIR", 0, |