diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2005-10-10 13:06:25 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2005-10-10 13:06:25 +0000 |
commit | c151662310f91158b80f0d78196f66159ce21292 (patch) | |
tree | 607aa61fd6256e074f84b150ddbebefbad48572d /usr.bin/cvs/rcs.h | |
parent | b7c7fc0bd7b2a8590867c5e3060bfae9606020c7 (diff) |
add rcsnum_dec() api call, decreases a revision number by one.
ok niallo@
Diffstat (limited to 'usr.bin/cvs/rcs.h')
-rw-r--r-- | usr.bin/cvs/rcs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/rcs.h b/usr.bin/cvs/rcs.h index f76e621ac67..aaa78cf38fe 100644 --- a/usr.bin/cvs/rcs.h +++ b/usr.bin/cvs/rcs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.h,v 1.32 2005/10/07 23:59:56 niallo Exp $ */ +/* $OpenBSD: rcs.h,v 1.33 2005/10/10 13:06:24 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -226,6 +226,7 @@ RCSNUM *rcsnum_parse(const char *); RCSNUM *rcsnum_brtorev(const RCSNUM *); RCSNUM *rcsnum_revtobr(const RCSNUM *); RCSNUM *rcsnum_inc(RCSNUM *); +RCSNUM *rcsnum_dec(RCSNUM *); void rcsnum_free(RCSNUM *); int rcsnum_aton(const char *, char **, RCSNUM *); char *rcsnum_tostr(const RCSNUM *, char *, size_t); |