summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/buf.h
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2007-02-02 04:24:10 +0000
committerRay Lai <ray@cvs.openbsd.org>2007-02-02 04:24:10 +0000
commit6922d99a37d1348e27229fd72eaa57d3f68118dd (patch)
tree47538539d859d915b318127285b98f778080305c /usr.bin/rcs/buf.h
parent6a91f83539b81a606795d6acb9612baef0a4e4d5 (diff)
Remove unused and buggy {cvs,rcs}_buf_set functions.
Bugginess pointed out and fix provided by Pierre Riteau. OK joris@.
Diffstat (limited to 'usr.bin/rcs/buf.h')
-rw-r--r--usr.bin/rcs/buf.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/rcs/buf.h b/usr.bin/rcs/buf.h
index 5e2ffc9224e..0a804d44380 100644
--- a/usr.bin/rcs/buf.h
+++ b/usr.bin/rcs/buf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: buf.h,v 1.5 2006/08/02 03:28:50 ray Exp $ */
+/* $OpenBSD: buf.h,v 1.6 2007/02/02 04:24:09 ray Exp $ */
/*
* Copyright (c) 2003 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -49,7 +49,6 @@ void rcs_buf_free(BUF *);
void *rcs_buf_release(BUF *);
u_char rcs_buf_getc(BUF *, size_t);
void rcs_buf_empty(BUF *);
-size_t rcs_buf_set(BUF *, const void *, size_t, size_t);
size_t rcs_buf_append(BUF *, const void *, size_t);
size_t rcs_buf_fappend(BUF *, const char *, ...)
__attribute__((format(printf, 2, 3)));