From 536923c534143069471372dbb71ea657b5346c9c Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 24 Apr 2015 16:45:32 +0000 Subject: [PATCH] Add a couple of missing spaces (style nits). --- usr.bin/file/magic-load.c | 8 ++++---- usr.bin/file/text.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/usr.bin/file/magic-load.c b/usr.bin/file/magic-load.c index 29455141d57..5f3d1f150bd 100644 --- a/usr.bin/file/magic-load.c +++ b/usr.bin/file/magic-load.c @@ -1,4 +1,4 @@ -/* $OpenBSD: magic-load.c,v 1.1 2015/04/24 16:24:11 nicm Exp $ */ +/* $OpenBSD: magic-load.c,v 1.2 2015/04/24 16:45:32 nicm Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott @@ -864,10 +864,10 @@ fail: static void magic_free_line(struct magic_line *ml) { - free((void*)ml->type_string); + free((void *)ml->type_string); - free((void*)ml->mimetype); - free((void*)ml->result); + free((void *)ml->mimetype); + free((void *)ml->result); free(ml); } diff --git a/usr.bin/file/text.c b/usr.bin/file/text.c index f835c50cee0..c027a49c815 100644 --- a/usr.bin/file/text.c +++ b/usr.bin/file/text.c @@ -1,4 +1,4 @@ -/* $OpenBSD: text.c,v 1.1 2015/04/24 16:24:11 nicm Exp $ */ +/* $OpenBSD: text.c,v 1.2 2015/04/24 16:45:32 nicm Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott @@ -138,7 +138,7 @@ text_try_words(const void *base, size_t size, int flags) size_t wordlen; u_int i; - end = (char*)base + size; + end = (char *)base + size; for (cp = base; cp != end; /* nothing */) { while (cp != end && isspace((u_char)*cp)) cp++; -- 2.20.1