diff options
-rw-r--r-- | usr.bin/cvs/buf.c | 6 | ||||
-rw-r--r-- | usr.bin/cvs/file.c | 12 | ||||
-rw-r--r-- | usr.bin/cvs/hist.c | 6 | ||||
-rw-r--r-- | usr.bin/cvs/strtab.c | 6 |
4 files changed, 15 insertions, 15 deletions
diff --git a/usr.bin/cvs/buf.c b/usr.bin/cvs/buf.c index 28f8e13e60e..3e53bf96b91 100644 --- a/usr.bin/cvs/buf.c +++ b/usr.bin/cvs/buf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: buf.c,v 1.16 2005/07/26 20:58:44 moritz Exp $ */ +/* $OpenBSD: buf.c,v 1.17 2005/07/29 17:04:42 xsa Exp $ */ /* * Copyright (c) 2003 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -174,7 +174,7 @@ cvs_buf_free(BUF *b) * of the buffer. Instead, they are returned and should be freed later using * free(). */ -void* +void * cvs_buf_release(BUF *b) { u_char *tmp; @@ -361,7 +361,7 @@ cvs_buf_len(BUF *b) * * Peek at the contents of the buffer <b> at offset <off>. */ -const void* +const void * cvs_buf_peek(BUF *b, size_t off) { if (off >= b->cb_len) diff --git a/usr.bin/cvs/file.c b/usr.bin/cvs/file.c index 82df62091a4..dbf996b1ea1 100644 --- a/usr.bin/cvs/file.c +++ b/usr.bin/cvs/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.108 2005/07/29 13:56:00 joris Exp $ */ +/* $OpenBSD: file.c,v 1.109 2005/07/29 17:04:42 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -245,7 +245,7 @@ cvs_file_chkign(const char *file) * created. * Returns the created file on success, or NULL on failure. */ -CVSFILE* +CVSFILE * cvs_file_create(CVSFILE *parent, const char *path, u_int type, mode_t mode) { int fd, l; @@ -324,7 +324,7 @@ cvs_file_create(CVSFILE *parent, const char *path, u_int type, mode_t mode) * Returns the copied file on success, or NULL on failure. The returned * structure should be freed using cvs_file_free(). */ -CVSFILE* +CVSFILE * cvs_file_copy(CVSFILE *orig) { char path[MAXPATHLEN]; @@ -653,7 +653,7 @@ fail: * The file's pathname <path> must be relative to the base of <hier>. * Returns the entry on success, or NULL on failure. */ -CVSFILE* +CVSFILE * cvs_file_find(CVSFILE *hier, const char *path) { char *pp, *sp, pbuf[MAXPATHLEN]; @@ -1136,7 +1136,7 @@ cvs_file_cmp(const void *f1, const void *f2) * * Allocate a CVSFILE structure and initialize its internals. */ -CVSFILE* +CVSFILE * cvs_file_alloc(const char *path, u_int type) { CVSFILE *cfp; @@ -1190,7 +1190,7 @@ cvs_file_alloc(const char *path, u_int type) * Returns a pointer to the created file structure on success, or NULL on * failure. */ -static CVSFILE* +static CVSFILE * cvs_file_lget(const char *path, int flags, CVSFILE *parent, struct cvs_ent *ent) { int ret; diff --git a/usr.bin/cvs/hist.c b/usr.bin/cvs/hist.c index 448254ba16d..a752f39aca7 100644 --- a/usr.bin/cvs/hist.c +++ b/usr.bin/cvs/hist.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hist.c,v 1.7 2005/07/25 12:05:43 xsa Exp $ */ +/* $OpenBSD: hist.c,v 1.8 2005/07/29 17:04:42 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -49,7 +49,7 @@ static int cvs_hist_fmt(const struct cvs_hent *, char *, size_t); * Open a CVS history file. * Returns the number of entries in the file on success, or -1 on error. */ -CVSHIST* +CVSHIST * cvs_hist_open(const char *path) { CVSHIST *histp; @@ -114,7 +114,7 @@ cvs_hist_close(CVSHIST *histp) * Returns the next entry from the file on success, or NULL on failure or if * no entries are left. */ -struct cvs_hent* +struct cvs_hent * cvs_hist_getnext(CVSHIST *histp) { if (histp->chf_cindex == histp->chf_nbhent) { diff --git a/usr.bin/cvs/strtab.c b/usr.bin/cvs/strtab.c index 18c6465714a..e20730a0ee0 100644 --- a/usr.bin/cvs/strtab.c +++ b/usr.bin/cvs/strtab.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strtab.c,v 1.6 2005/07/25 12:05:43 xsa Exp $ */ +/* $OpenBSD: strtab.c,v 1.7 2005/07/29 17:04:42 xsa Exp $ */ /* * Copyright (c) 2005 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -134,7 +134,7 @@ cvs_strtab_cleanup(void) * * Insert the string <str> in the string table. */ -static struct cvs_str* +static struct cvs_str * cvs_strtab_insert(const char *str) { u_int32_t h; @@ -187,7 +187,7 @@ cvs_strtab_hash(const char *str) * is found, a pointer to the string is returned and the entry's reference * count is increased. */ -static struct cvs_str* +static struct cvs_str * cvs_strtab_lookup(const char *str) { u_int32_t h; |