diff options
author | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2004-08-02 22:49:51 +0000 |
---|---|---|
committer | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2004-08-02 22:49:51 +0000 |
commit | 1f0c0b8752a4a5dc4134c62d44eea45ff2fc587b (patch) | |
tree | aec401b8ed61e18164a443fbe274b4d61c11e5e2 /usr.bin/cvs | |
parent | 10852c24e5ca2bf509b6c390e867b9ced00ff896 (diff) |
Remove cruft and unbreak compilation
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/file.c | 7 | ||||
-rw-r--r-- | usr.bin/cvs/file.h | 13 |
2 files changed, 8 insertions, 12 deletions
diff --git a/usr.bin/cvs/file.c b/usr.bin/cvs/file.c index f5e34808686..b4445434612 100644 --- a/usr.bin/cvs/file.c +++ b/usr.bin/cvs/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.16 2004/08/02 13:54:01 jfb Exp $ */ +/* $OpenBSD: file.c,v 1.17 2004/08/02 22:49:49 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -294,11 +294,6 @@ cvs_file_getspec(char **fspec, int fsn, int flags) char common[MAXPATHLEN], *cp; CVSFILE *cfp; - /* first load the common subdirectory */ - cfp = cvs_file_get(common, flags); - for (i = 0; i < fsn; i++) { - } - return (cfp); } diff --git a/usr.bin/cvs/file.h b/usr.bin/cvs/file.h index 99739be0387..ea32e6d8b89 100644 --- a/usr.bin/cvs/file.h +++ b/usr.bin/cvs/file.h @@ -1,4 +1,4 @@ -/* $OpenBSD: file.h,v 1.4 2004/08/02 13:54:02 jfb Exp $ */ +/* $OpenBSD: file.h,v 1.5 2004/08/02 22:49:50 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -33,6 +33,7 @@ struct cvs_file; struct cvs_dir; +struct cvs_entries; #define CF_STAT 0x01 /* allocate space for file stats */ @@ -84,11 +85,11 @@ typedef struct cvs_file { struct cvs_dir { - struct cvsroot *cd_root; - char *cd_repo; - CVSENTRIES *cd_ent; - struct cvs_flist cd_files; - u_int cd_nfiles; + struct cvsroot *cd_root; + char *cd_repo; + struct cvs_entries *cd_ent; + struct cvs_flist cd_files; + u_int cd_nfiles; }; |