summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcsprog.h
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-10-27 07:43:57 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-10-27 07:43:57 +0000
commita6d0627e498e96ed484f19a698e87503ef6a4939 (patch)
tree03c0c44c56932f367e3209af42eee03e38a22cd5 /usr.bin/rcs/rcsprog.h
parentba9b93286d505b337ab04595a136e85b5c3d3613 (diff)
TMPDIR support; joris ok
Diffstat (limited to 'usr.bin/rcs/rcsprog.h')
-rw-r--r--usr.bin/rcs/rcsprog.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/rcs/rcsprog.h b/usr.bin/rcs/rcsprog.h
index 61cea0ae9f9..d892259e961 100644
--- a/usr.bin/rcs/rcsprog.h
+++ b/usr.bin/rcs/rcsprog.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsprog.h,v 1.16 2005/10/19 00:30:22 joris Exp $ */
+/* $OpenBSD: rcsprog.h,v 1.17 2005/10/27 07:43:56 xsa Exp $ */
/*
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -27,6 +27,8 @@
#ifndef RCSPROG_H
#define RCSPROG_H
+#define RCS_TMPDIR_DEFAULT "/tmp"
+
extern char *__progname;
extern const char rcs_version[];
extern int verbose;
@@ -34,6 +36,7 @@ extern int pipeout;
extern int rcs_optind;
extern char *rcs_optarg;
+extern char *rcs_tmpdir;
/* date.y */
time_t cvs_date_parse(const char *);