From b5b24837bba07e623cdf35f7bb1161ca2bcbdacb Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 11 Jun 2002 21:37:22 +0000 Subject: 2002-06-09 Roland McGrath * version.h: New file. * Makefile (INSTHDRS): Add it. --- hurd/Makefile | 2 +- hurd/version.h | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 hurd/version.h (limited to 'hurd') diff --git a/hurd/Makefile b/hurd/Makefile index 078c80ab..ea964446 100644 --- a/hurd/Makefile +++ b/hurd/Makefile @@ -21,7 +21,7 @@ makemode := misc hdrs = $(wildcard $(srcdir)/*.defs $(srcdir)/*.h) DIST_FILES = subsystems $(notdir $(hdrs)) ioctl-tmpl.sym ioctl.awk gensym.awk -INSTHDRS = hurd_types.h ioctl_types.h paths.h shared.h \ +INSTHDRS = hurd_types.h version.h ioctl_types.h paths.h shared.h \ $(notdir $(wildcard $(srcdir)/*.defs)) include ../Makeconf diff --git a/hurd/version.h b/hurd/version.h new file mode 100644 index 00000000..9b85b5a5 --- /dev/null +++ b/hurd/version.h @@ -0,0 +1,6 @@ +/* This file just gives a value that can be tested easily with #if as a + gross check of the Hurd interface version. It has the format YYYYMMDD + and will only ever be increased. This will be bumped whenever either + the RPC interfaces or the library APIs change. */ + +#define HURD_INTERFACE_VERSION 20020609 -- cgit v1.2.3