summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/buf.h
diff options
context:
space:
mode:
authorNiall O'Higgins <niallo@cvs.openbsd.org>2006-03-20 16:18:14 +0000
committerNiall O'Higgins <niallo@cvs.openbsd.org>2006-03-20 16:18:14 +0000
commit476bf8f7fcedcb4bc23b900715716f3fac897fdb (patch)
tree0853b8ff04059c83bfb8c1fe1cbb6f706e4558fc /usr.bin/cvs/buf.h
parentde50169127deba14884eaef1d8cb8c81f01abf41 (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.h4
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)