diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-07-25 11:07:01 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-07-25 11:07:01 +0000 |
commit | bc24aeae8a4710d25c7c1a33311fe06ddf41e2f9 (patch) | |
tree | d3fe8927f530d5aab419f9b879aee18243c831ac /usr.bin/cvs/buf.h | |
parent | c7401ac91e5bc63847d48c2eef79cb1c4c03b5e9 (diff) |
KNF; mostly spaces vs. tabs; ok joris@ jfb@.
Diffstat (limited to 'usr.bin/cvs/buf.h')
-rw-r--r-- | usr.bin/cvs/buf.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/usr.bin/cvs/buf.h b/usr.bin/cvs/buf.h index d2041399d90..d16fb6f7f2d 100644 --- a/usr.bin/cvs/buf.h +++ b/usr.bin/cvs/buf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: buf.h,v 1.4 2004/12/08 21:11:07 djm Exp $ */ +/* $OpenBSD: buf.h,v 1.5 2005/07/25 11:07:00 xsa Exp $ */ /* * Copyright (c) 2003 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -42,28 +42,28 @@ /* flags */ -#define BUF_AUTOEXT 1 /* autoextend on append */ +#define BUF_AUTOEXT 1 /* autoextend on append */ typedef struct cvs_buf BUF; -BUF* cvs_buf_alloc (size_t, u_int); -BUF* cvs_buf_load (const char *, u_int); -void cvs_buf_free (BUF *); -void* cvs_buf_release (BUF *); -void cvs_buf_empty (BUF *); -ssize_t cvs_buf_copy (BUF *, size_t, void *, size_t); -int 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 *, ...); -int cvs_buf_putc (BUF *, int); -size_t cvs_buf_size (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); +BUF *cvs_buf_alloc(size_t, u_int); +BUF *cvs_buf_load(const char *, u_int); +void cvs_buf_free(BUF *); +void *cvs_buf_release(BUF *); +void cvs_buf_empty(BUF *); +ssize_t cvs_buf_copy(BUF *, size_t, void *, size_t); +int 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 *, ...); +int cvs_buf_putc(BUF *, int); +size_t cvs_buf_size(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); -#define cvs_buf_get(b) cvs_buf_peek(b, 0) +#define cvs_buf_get(b) cvs_buf_peek(b, 0) -#endif /* BUF_H */ +#endif /* BUF_H */ |