=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/cvs.h,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- src/usr.bin/cvs/cvs.h 2004/07/29 15:41:58 1.12 +++ src/usr.bin/cvs/cvs.h 2004/07/29 16:46:58 1.13 @@ -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 * All rights reserved. @@ -276,6 +276,10 @@ #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 @@ 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'