summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/worklist.h
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2006-04-10 19:49:46 +0000
committerJoris Vink <joris@cvs.openbsd.org>2006-04-10 19:49:46 +0000
commitb8f6fc4b89fd368bfa5f6fdededf178314a8cd96 (patch)
treee3b39b4d25287d25b768a1d6e090c21ac4958e9f /usr.bin/cvs/worklist.h
parenta3ec948694ddf8e8758f8275087e78b48874e655 (diff)
make sure we add the correct name mkstemp(3) creates for us
to the worklist of temporary files. this way we definatly don't leave any files behind in /tmp. tested & okay niallo@
Diffstat (limited to 'usr.bin/cvs/worklist.h')
-rw-r--r--usr.bin/cvs/worklist.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/cvs/worklist.h b/usr.bin/cvs/worklist.h
index e73a14f59c4..8e0dee01674 100644
--- a/usr.bin/cvs/worklist.h
+++ b/usr.bin/cvs/worklist.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: worklist.h,v 1.3 2006/03/15 18:24:43 deraadt Exp $ */
+/* $OpenBSD: worklist.h,v 1.4 2006/04/10 19:49:44 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -40,4 +40,8 @@ void cvs_worklist_clean(struct cvs_wklhead *, void (*cb)(struct cvs_worklist *))
void cvs_worklist_unlink(struct cvs_worklist *);
+#if defined(RCSPROG)
+extern struct cvs_wklhead rcs_temp_files;
+#endif
+
#endif