diff options
author | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2004-08-06 20:08:50 +0000 |
---|---|---|
committer | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2004-08-06 20:08:50 +0000 |
commit | 65f0dca1e45d5ece735ba051468012e45ca59ca1 (patch) | |
tree | af6104ae104aff5ac29dec67f2e2655a0731dd36 /usr.bin/cvs/cvs.h | |
parent | e8ff26655dcd9d545690f11d7d0c2ce15a4ef233 (diff) |
Simplify cvs_splitpath() by requiring only one buffer to copy the result
into
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 d81172386c4..b64fa1201a8 100644 --- a/usr.bin/cvs/cvs.h +++ b/usr.bin/cvs/cvs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cvs.h,v 1.24 2004/08/06 14:49:03 jfb Exp $ */ +/* $OpenBSD: cvs.h,v 1.25 2004/08/06 20:08:49 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -278,7 +278,7 @@ int cvs_hist_append (CVSHIST *, struct cvs_hent *); /* from util.c */ int cvs_readrepo (const char *, char *, size_t); -int cvs_splitpath (const char *, char *, size_t, char *, size_t); +int cvs_splitpath (const char *, char *, size_t, char **); int cvs_modetostr (mode_t, char *, size_t); int cvs_strtomode (const char *, mode_t *); int cvs_mkadmin (struct cvs_file *, mode_t); |