diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2009-02-13 20:48:50 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2009-02-13 20:48:50 +0000 |
commit | 041d064584a4f8379bb8006dfee7253e2737a7f8 (patch) | |
tree | 8ccdb73d7286788e9985d2c0bf17551aa05fd149 /usr.bin | |
parent | 7af5c212c5ca44f9e7b10be24718d77b7ae4dd29 (diff) |
style and typos fixes from Thomas Pfaff
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/aucat/abuf.c | 4 | ||||
-rw-r--r-- | usr.bin/aucat/abuf.h | 7 | ||||
-rw-r--r-- | usr.bin/aucat/amsg.h | 8 |
3 files changed, 9 insertions, 10 deletions
diff --git a/usr.bin/aucat/abuf.c b/usr.bin/aucat/abuf.c index 47ff12add88..3fcac3f0ef2 100644 --- a/usr.bin/aucat/abuf.c +++ b/usr.bin/aucat/abuf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: abuf.c,v 1.10 2009/01/23 17:38:15 ratchov Exp $ */ +/* $OpenBSD: abuf.c,v 1.11 2009/02/13 20:48:49 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -32,10 +32,10 @@ * ease pipe/socket implementation */ #include <err.h> +#include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <stdarg.h> #include "conf.h" #include "aparams.h" diff --git a/usr.bin/aucat/abuf.h b/usr.bin/aucat/abuf.h index b4e0359b07d..c339236db6b 100644 --- a/usr.bin/aucat/abuf.h +++ b/usr.bin/aucat/abuf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: abuf.h,v 1.15 2009/01/23 17:38:15 ratchov Exp $ */ +/* $OpenBSD: abuf.h,v 1.16 2009/02/13 20:48:49 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -19,16 +19,15 @@ #include <sys/queue.h> -struct abuf; struct aproc; -struct aparam; +struct aparams; struct abuf { /* * Misc aproc-specific per-buffer parameters. * since the buffer can connect any pair of aproc structure, * each aproc must have it's own specific data. Thus we cannot - * use an union. The only exception is the xrun field, because + * use a union. The only exception is the xrun field, because * there can be only one aproc that absorbs xruns in any * intput->output path. */ diff --git a/usr.bin/aucat/amsg.h b/usr.bin/aucat/amsg.h index 849ebc7b184..3e50aa24da8 100644 --- a/usr.bin/aucat/amsg.h +++ b/usr.bin/aucat/amsg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: amsg.h,v 1.4 2009/01/23 17:38:15 ratchov Exp $ */ +/* $OpenBSD: amsg.h,v 1.5 2009/02/13 20:48:49 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -14,8 +14,8 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifndef SOCKET_H -#define SOCKET_H +#ifndef AMSG_H +#define AMSG_H #include <stdint.h> @@ -94,4 +94,4 @@ struct amsg { */ #define AMSG_ISSET(x) (((x) & (1 << (8 * sizeof(x) - 1))) == 0) -#endif /* !defined(SOCKET_H) */ +#endif /* !defined(AMSG_H) */ |