One more tiny usr.bin/indent diff: drop some casts that are no longer needed.
Index: indent.c =================================================================== RCS file: /work/cvsroot/src/usr.bin/indent/indent.c,v retrieving revision 1.23 diff -p -u -r1.23 indent.c --- indent.c 26 Nov 2013 13:21:17 -0000 1.23 +++ indent.c 24 Dec 2013 19:19:10 -0000 @@ -89,10 +89,10 @@ main(int argc, char **argv) ps.last_nl = true; /* this is true if the last thing scanned was * a newline */ ps.last_token = semicolon; - combuf = (char *) malloc(bufsize); - labbuf = (char *) malloc(bufsize); - codebuf = (char *) malloc(bufsize); - tokenbuf = (char *) malloc(bufsize); + combuf = malloc(bufsize); + labbuf = malloc(bufsize); + codebuf = malloc(bufsize); + tokenbuf = malloc(bufsize); if (combuf == NULL || labbuf == NULL || codebuf == NULL || tokenbuf == NULL) err(1, NULL); @@ -109,7 +109,7 @@ main(int argc, char **argv) s_com = e_com = combuf + 1; s_token = e_token = tokenbuf + 1; - in_buffer = (char *) malloc(10); + in_buffer = malloc(10); if (in_buffer == NULL) err(1, NULL); in_buffer_limit = in_buffer + 8; Index: lexi.c =================================================================== RCS file: /work/cvsroot/src/usr.bin/indent/lexi.c,v retrieving revision 1.16 diff -p -u -r1.16 lexi.c --- lexi.c 26 Nov 2013 13:21:17 -0000 1.16 +++ lexi.c 24 Dec 2013 19:19:38 -0000 @@ -576,7 +576,7 @@ addkey(char *key, int val) */ nspecials = sizeof (specialsinit) / sizeof (specialsinit[0]); maxspecials = nspecials + (nspecials >> 2); - specials = (struct templ *)calloc(maxspecials, sizeof specials[0]); + specials = calloc(maxspecials, sizeof specials[0]); if (specials == NULL) err(1, NULL); memcpy(specials, specialsinit, sizeof specialsinit);