summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcs.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2011-07-06 15:36:53 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2011-07-06 15:36:53 +0000
commit5eefc13ef24936a1eca7a13089cadd5187c275cf (patch)
tree6596e21da24f7f97e762f2cfe60993ca0a7738b0 /usr.bin/rcs/rcs.h
parente3a67e680509895a71b8ada1baf56dcdc4f14015 (diff)
Replace the keyword expansion code with a faster, more readable version
which additionally also supports $Log$ and $Locker. Written by Joerg Sonnenberger and tweaked by me. ok ray
Diffstat (limited to 'usr.bin/rcs/rcs.h')
-rw-r--r--usr.bin/rcs/rcs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/rcs/rcs.h b/usr.bin/rcs/rcs.h
index 0d3197daae2..143250a9e1c 100644
--- a/usr.bin/rcs/rcs.h
+++ b/usr.bin/rcs/rcs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.h,v 1.14 2011/05/20 19:21:10 nicm Exp $ */
+/* $OpenBSD: rcs.h,v 1.15 2011/07/06 15:36:52 nicm Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -69,10 +69,11 @@
#define RCS_KW_SOURCE 0x0400
#define RCS_KW_STATE 0x0800
#define RCS_KW_FULLPATH 0x0010
+#define RCS_KW_LOCKER 0x10000
#define RCS_KW_ID \
(RCS_KW_RCSFILE | RCS_KW_REVISION | RCS_KW_DATE \
- | RCS_KW_AUTHOR | RCS_KW_STATE)
+ | RCS_KW_AUTHOR | RCS_KW_STATE | RCS_KW_LOCKER)
#define RCS_KW_HEADER (RCS_KW_ID | RCS_KW_FULLPATH)