summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/worklist.h
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2010-07-23 08:31:20 +0000
committerRay Lai <ray@cvs.openbsd.org>2010-07-23 08:31:20 +0000
commit114cf9476ebb86dcd4bd420266b9055ff9918c2e (patch)
tree31a73dd5949d81e3f8869aaee2bda7b2c5e02f14 /usr.bin/rcs/worklist.h
parentbdce6a57594ade4892765a7f2a617b93b6f688bb (diff)
Rename a bunch of variables and functions, removing the cvs_/rcs_
prefixes to reduce differences between cvs and rcs files. "yes!" nicm
Diffstat (limited to 'usr.bin/rcs/worklist.h')
-rw-r--r--usr.bin/rcs/worklist.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/usr.bin/rcs/worklist.h b/usr.bin/rcs/worklist.h
index a3ff34b8487..40a9b125019 100644
--- a/usr.bin/rcs/worklist.h
+++ b/usr.bin/rcs/worklist.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: worklist.h,v 1.2 2007/02/27 07:59:13 xsa Exp $ */
+/* $OpenBSD: worklist.h,v 1.3 2010/07/23 08:31:19 ray Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -29,19 +29,19 @@
#include <sys/param.h>
-struct rcs_worklist {
- char wkl_path[MAXPATHLEN];
- volatile SLIST_ENTRY(rcs_worklist) wkl_list;
+struct worklist {
+ char wkl_path[MAXPATHLEN];
+ volatile SLIST_ENTRY(worklist) wkl_list;
};
-SLIST_HEAD(rcs_wklhead, rcs_worklist);
+SLIST_HEAD(wklhead, worklist);
-void rcs_worklist_add(const char *, struct rcs_wklhead *);
-void rcs_worklist_run(struct rcs_wklhead *, void (*cb)(struct rcs_worklist *));
-void rcs_worklist_clean(struct rcs_wklhead *, void (*cb)(struct rcs_worklist *));
+void worklist_add(const char *, struct wklhead *);
+void worklist_run(struct wklhead *, void (*cb)(struct worklist *));
+void worklist_clean(struct wklhead *, void (*cb)(struct worklist *));
-void rcs_worklist_unlink(struct rcs_worklist *);
+void worklist_unlink(struct worklist *);
-extern struct rcs_wklhead rcs_temp_files;
+extern struct wklhead temp_files;
#endif