=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/worklist.h,v retrieving revision 1.6 retrieving revision 1.7 diff -c -r1.6 -r1.7 *** src/usr.bin/cvs/worklist.h 2007/02/22 06:42:10 1.6 --- src/usr.bin/cvs/worklist.h 2010/07/23 08:31:19 1.7 *************** *** 1,4 **** ! /* $OpenBSD: worklist.h,v 1.6 2007/02/22 06:42:10 otto Exp $ */ /* * Copyright (c) 2006 Joris Vink * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: worklist.h,v 1.7 2010/07/23 08:31:19 ray Exp $ */ /* * Copyright (c) 2006 Joris Vink * All rights reserved. *************** *** 29,45 **** #include ! struct cvs_worklist { ! char wkl_path[MAXPATHLEN]; ! volatile SLIST_ENTRY(cvs_worklist) wkl_list; }; ! SLIST_HEAD(cvs_wklhead, cvs_worklist); ! void cvs_worklist_add(const char *, struct cvs_wklhead *); ! void cvs_worklist_run(struct cvs_wklhead *, void (*cb)(struct cvs_worklist *)); ! void cvs_worklist_clean(struct cvs_wklhead *, void (*cb)(struct cvs_worklist *)); ! void cvs_worklist_unlink(struct cvs_worklist *); #endif --- 29,45 ---- #include ! struct worklist { ! char wkl_path[MAXPATHLEN]; ! volatile SLIST_ENTRY(worklist) wkl_list; }; ! SLIST_HEAD(wklhead, 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 worklist_unlink(struct worklist *); #endif