summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/buf.h
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2006-03-17 07:37:09 +0000
committerRay Lai <ray@cvs.openbsd.org>2006-03-17 07:37:09 +0000
commit160b884359d736d16e9705869212b7fc154f380e (patch)
treec6a40f2bbc8d7e43fe4f4512cc8b8b0db79775ed /usr.bin/cvs/buf.h
parent44ca898c50779cd84ff2bed6cbbd045763b11108 (diff)
Use ssize_t in appropriate places.
Found by lint. OK niallo@
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 3bf945fa935..c5feec02b2a 100644
--- a/usr.bin/cvs/buf.h
+++ b/usr.bin/cvs/buf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: buf.h,v 1.9 2006/02/01 16:28:20 xsa Exp $ */
+/* $OpenBSD: buf.h,v 1.10 2006/03/17 07:37:08 ray Exp $ */
/*
* Copyright (c) 2003 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -54,7 +54,7 @@ void cvs_buf_empty(BUF *);
ssize_t cvs_buf_copy(BUF *, size_t, void *, size_t);
ssize_t cvs_buf_set(BUF *, const void *, size_t, size_t);
ssize_t cvs_buf_append(BUF *, const void *, size_t);
-int cvs_buf_fappend(BUF *, const char *, ...)
+ssize_t cvs_buf_fappend(BUF *, const char *, ...)
__attribute__((format(printf, 2, 3)));
int cvs_buf_putc(BUF *, int);
size_t cvs_buf_len(BUF *);