diff options
author | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2005-05-26 22:25:32 +0000 |
---|---|---|
committer | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2005-05-26 22:25:32 +0000 |
commit | 4a3c8238a722dc1e543d412a6f7c6c36d2114061 (patch) | |
tree | 3d812ee94979db5e6c4afda09adf49a06484281b /usr.bin/cvs/cvs.h | |
parent | 3f25795bbe6ea9adaae9d8d55de1657a5851a326 (diff) |
don't keep a pointer to the file handle in CVSENTRIES, it is only
used in cvs_ent_write(), and simplify path building a bit
Diffstat (limited to 'usr.bin/cvs/cvs.h')
-rw-r--r-- | usr.bin/cvs/cvs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/cvs.h b/usr.bin/cvs/cvs.h index 16e5b4f9508..3c0a018e565 100644 --- a/usr.bin/cvs/cvs.h +++ b/usr.bin/cvs/cvs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cvs.h,v 1.61 2005/05/26 21:25:49 jfb Exp $ */ +/* $OpenBSD: cvs.h,v 1.62 2005/05/26 22:25:31 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -254,7 +254,6 @@ struct cvs_ent { typedef struct cvs_entries { char *cef_path; - FILE *cef_file; u_int cef_flags; TAILQ_HEAD(, cvs_ent) cef_ent; @@ -396,6 +395,7 @@ int cvs_getargv (const char *, char **, int); int cvs_remove_dir (const char *); char** cvs_makeargv (const char *, int *); void cvs_freeargv (char **, int); +size_t cvs_path_cat (const char *, const char *, char *, size_t); #endif /* CVS_H */ |