diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2006-04-18 03:35:58 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2006-04-18 03:35:58 +0000 |
commit | 68c7e7f117826f0b39de48ccc0bb99a5fd91f9fa (patch) | |
tree | 2e89ac8b2281964e971a0f264eae922e2d8822a0 /usr.bin/rcs/rcsprog.h | |
parent | 3bc6824010a033693ea165e10bf97012892f6995 (diff) |
Combine code to prompt user for input into a shared function,
reducing some complex fats from ci.c.
OK joris@
Diffstat (limited to 'usr.bin/rcs/rcsprog.h')
-rw-r--r-- | usr.bin/rcs/rcsprog.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/rcs/rcsprog.h b/usr.bin/rcs/rcsprog.h index 5e0cb328fa7..1faa42f41e1 100644 --- a/usr.bin/rcs/rcsprog.h +++ b/usr.bin/rcs/rcsprog.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsprog.h,v 1.48 2006/04/16 12:30:00 niallo Exp $ */ +/* $OpenBSD: rcsprog.h,v 1.49 2006/04/18 03:35:57 ray Exp $ */ /* * Copyright (c) 2005 Joris Vink <joris@openbsd.org> * All rights reserved. @@ -114,6 +114,7 @@ char *rcs_choosefile(const char *); int rcs_statfile(char *, char *, size_t); time_t rcs_get_mtime(const char *); RCSNUM *rcs_getrevnum(const char *, RCSFILE *); +char *rcs_prompt(const char *); u_int rcs_rev_select(RCSFILE *, char *); void rcs_set_rev(const char *, RCSNUM **); void rcs_setrevstr(char **, char *); |