aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-06-11 21:37:22 +0000
committerRoland McGrath <roland@gnu.org>2002-06-11 21:37:22 +0000
commitb5b24837bba07e623cdf35f7bb1161ca2bcbdacb (patch)
tree77e10e47b63405c22248440779be88b9c7b5d8cc
parent94bc371e74e93e1db2e483676a07090047fe24ea (diff)
downloadhurd-b5b24837bba07e623cdf35f7bb1161ca2bcbdacb.tar.gz
hurd-b5b24837bba07e623cdf35f7bb1161ca2bcbdacb.tar.bz2
hurd-b5b24837bba07e623cdf35f7bb1161ca2bcbdacb.zip
2002-06-09 Roland McGrath <roland@frob.com>
* version.h: New file. * Makefile (INSTHDRS): Add it.
-rw-r--r--hurd/Makefile2
-rw-r--r--hurd/version.h6
2 files changed, 7 insertions, 1 deletions
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