diff options
author | Niall O'Higgins <niallo@cvs.openbsd.org> | 2006-03-20 16:18:14 +0000 |
---|---|---|
committer | Niall O'Higgins <niallo@cvs.openbsd.org> | 2006-03-20 16:18:14 +0000 |
commit | 476bf8f7fcedcb4bc23b900715716f3fac897fdb (patch) | |
tree | 0853b8ff04059c83bfb8c1fe1cbb6f706e4558fc /usr.bin/cvs/buf.h | |
parent | de50169127deba14884eaef1d8cb8c81f01abf41 (diff) |
delint; cvs_buf_write_stmp() will never return non-zero:
- remove superfluous error handling for cvs_buf_write_stmp()
- change cvs_buf_write_stmp() return type to void
ok joris@ xsa@
Diffstat (limited to 'usr.bin/cvs/buf.h')
-rw-r--r-- | usr.bin/cvs/buf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/buf.h b/usr.bin/cvs/buf.h index c5feec02b2a..523805fc62f 100644 --- a/usr.bin/cvs/buf.h +++ b/usr.bin/cvs/buf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: buf.h,v 1.10 2006/03/17 07:37:08 ray Exp $ */ +/* $OpenBSD: buf.h,v 1.11 2006/03/20 16:18:13 niallo Exp $ */ /* * Copyright (c) 2003 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -61,7 +61,7 @@ size_t cvs_buf_len(BUF *); const void *cvs_buf_peek(BUF *, size_t); int cvs_buf_write_fd(BUF *, int); int cvs_buf_write(BUF *, const char *, mode_t); -int cvs_buf_write_stmp(BUF *, char *, mode_t); +void cvs_buf_write_stmp(BUF *, char *, mode_t); #define cvs_buf_get(b) cvs_buf_peek(b, 0) |