-/* $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 <nicm@openbsd.org>
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);
}
-/* $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 <nicm@openbsd.org>
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++;