From b66395951b72dc01c1c701741ca3b581704079c1 Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Fri, 20 Aug 2010 06:56:55 +0000 Subject: polish the code: remove few unused #includes, add missing ones, fix NULL vs 0, etc. No behaviour change. --- usr.bin/aucat/aucat.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'usr.bin/aucat/aucat.c') diff --git a/usr.bin/aucat/aucat.c b/usr.bin/aucat/aucat.c index 37ef703d0d3..256e4291e32 100644 --- a/usr.bin/aucat/aucat.c +++ b/usr.bin/aucat/aucat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aucat.c,v 1.103 2010/08/19 06:31:06 ratchov Exp $ */ +/* $OpenBSD: aucat.c,v 1.104 2010/08/20 06:56:54 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov * @@ -30,7 +30,6 @@ #include #include #include -#include #include "abuf.h" #include "aparams.h" @@ -181,7 +180,7 @@ opt_mode(void) char *p = optarg; size_t len; - for (p = optarg; *p != NULL; p++) { + for (p = optarg; *p != '\0'; p++) { len = strcspn(p, ","); if (strncmp("play", p, len) == 0) { mode |= MODE_PLAY; -- cgit v1.2.3