summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/cvs.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/usr.bin/cvs/cvs.h b/usr.bin/cvs/cvs.h
index 6b380d6df4f..1e365b7e0d0 100644
--- a/usr.bin/cvs/cvs.h
+++ b/usr.bin/cvs/cvs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cvs.h,v 1.12 2004/07/29 15:41:58 jfb Exp $ */
+/* $OpenBSD: cvs.h,v 1.13 2004/07/29 16:46:58 jfb Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -276,6 +276,10 @@ struct cvsroot {
#define CVS_FST_CONFLICT 5
#define CVS_FST_PATCHED 6
+
+TAILQ_HEAD(cvs_flist, cvs_files);
+
+
typedef struct cvs_file {
char *cf_path;
struct cvs_file *cf_parent; /* parent directory (NULL if none) */
@@ -285,14 +289,14 @@ typedef struct cvs_file {
struct stat *cf_stat; /* only available with CF_STAT flag */
struct cvs_dir *cf_ddat; /* only for directories */
- LIST_ENTRY(cvs_file) cf_list;
+ TAILQ_ENTRY(cvs_file) cf_list;
} CVSFILE;
struct cvs_dir {
- struct cvsroot *cd_root;
- char *cd_repo;
- LIST_HEAD(cvs_flist, cvs_file) cd_files;
+ struct cvsroot *cd_root;
+ char *cd_repo;
+ struct cvs_flist cd_files;
};
#define CVS_HIST_ADDED 'A'