summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/rcs.h
diff options
context:
space:
mode:
authorJean-Francois Brousseau <jfb@cvs.openbsd.org>2005-05-25 21:32:32 +0000
committerJean-Francois Brousseau <jfb@cvs.openbsd.org>2005-05-25 21:32:32 +0000
commitfc13fc1fb34cd2d3de15f93fd47bf044cfad92b3 (patch)
tree13300df8bf749df5afba06ce9886d0aa86f59695 /usr.bin/cvs/rcs.h
parentbb3a0804f60c718f9311dd17bcd96b8eccb700e1 (diff)
modify rcs_rev_add() to accept a time_t argument to explicitly set
the revision's timestamp (-1 is equivalent to using the current time)
Diffstat (limited to 'usr.bin/cvs/rcs.h')
-rw-r--r--usr.bin/cvs/rcs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/rcs.h b/usr.bin/cvs/rcs.h
index 186ee3c8761..d159f1b508a 100644
--- a/usr.bin/cvs/rcs.h
+++ b/usr.bin/cvs/rcs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.h,v 1.26 2005/05/25 10:23:57 jfb Exp $ */
+/* $OpenBSD: rcs.h,v 1.27 2005/05/25 21:32:31 jfb Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -209,7 +209,7 @@ const char* rcs_comment_get (RCSFILE *);
int rcs_comment_set (RCSFILE *, const char *);
int rcs_kwexp_set (RCSFILE *, int);
int rcs_kwexp_get (RCSFILE *);
-int rcs_rev_add (RCSFILE *, RCSNUM *, const char *);
+int rcs_rev_add (RCSFILE *, RCSNUM *, const char *, time_t);
int rcs_rev_remove (RCSFILE *, RCSNUM *);
RCSNUM* rcs_tag_resolve (RCSFILE *, const char *);
const char* rcs_errstr (int);