diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-07-23 10:49:36 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-07-23 10:49:36 +0000 |
commit | a5c25d0140b061a6d3a831d8ce48bce43b8835fc (patch) | |
tree | 17a233cf9b3434ae968f7455ec3fbd6aaa0983fc /usr.bin/cvs/cvs.h | |
parent | 228c8375dab6646ac58555c35269f2f85e6d5d41 (diff) |
add cvs_chdir(); a wrapper to chdir() w/ an error msg as it is used in
many places. Let's make our life simpler for once.
ok jfb@ joris@.
Diffstat (limited to 'usr.bin/cvs/cvs.h')
-rw-r--r-- | usr.bin/cvs/cvs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/cvs.h b/usr.bin/cvs/cvs.h index ffa322ec40d..5df82557544 100644 --- a/usr.bin/cvs/cvs.h +++ b/usr.bin/cvs/cvs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cvs.h,v 1.70 2005/07/21 09:51:07 xsa Exp $ */ +/* $OpenBSD: cvs.h,v 1.71 2005/07/23 10:49:35 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -396,6 +396,7 @@ int cvs_mkadmin (const char *, const char *, const char *); int cvs_cksum (const char *, char *, size_t); int cvs_exec (int, char **, int []); int cvs_getargv (const char *, char **, int); +int cvs_chdir (const char *); int cvs_remove_dir (const char *); int cvs_create_dir (const char *, int, char *, char *); char* cvs_rcs_getpath (CVSFILE *, char *, size_t); |