diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2011-06-24 05:40:10 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2011-06-24 05:40:10 +0000 |
commit | 23952675dda1a3b35b567fcec82fc2abdb297c5c (patch) | |
tree | d5447dc5b10cbfbd93d330c0f581245da73f23ee /app/cwm/util.c | |
parent | f6c353cf4397d51749b76273b87b8d05ed92ff3b (diff) |
alter a few function returns and prototypes; found by lint.
ok oga@
Diffstat (limited to 'app/cwm/util.c')
-rw-r--r-- | app/cwm/util.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/app/cwm/util.c b/app/cwm/util.c index 699398427..aa159009c 100644 --- a/app/cwm/util.c +++ b/app/cwm/util.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: util.c,v 1.13 2011/05/11 13:53:51 okan Exp $ + * $OpenBSD: util.c,v 1.14 2011/06/24 05:40:09 okan Exp $ */ #include <sys/param.h> @@ -32,7 +32,7 @@ #define MAXARGLEN 20 -int +void u_spawn(char *argstr) { switch (fork()) { @@ -42,12 +42,9 @@ u_spawn(char *argstr) break; case -1: warn("fork"); - return (-1); default: break; } - - return (0); } void |