summaryrefslogtreecommitdiff
path: root/usr.bin/indent/indent_globs.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/indent/indent_globs.h')
-rw-r--r--usr.bin/indent/indent_globs.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/indent/indent_globs.h b/usr.bin/indent/indent_globs.h
index 110e392c59c..ea56bf4eb8e 100644
--- a/usr.bin/indent/indent_globs.h
+++ b/usr.bin/indent/indent_globs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: indent_globs.h,v 1.12 2015/01/19 15:30:52 krw Exp $ */
+/* $OpenBSD: indent_globs.h,v 1.13 2015/08/20 22:32:41 deraadt Exp $ */
/*
* Copyright (c) 1985 Sun Microsystems, Inc.
* Copyright (c) 1980, 1993
@@ -55,7 +55,7 @@ FILE *output; /* the output file */
if (e_code >= l_code) { \
int nsize = l_code-s_code+400; \
\
- codebuf = (char *) realloc(codebuf, nsize); \
+ codebuf = realloc(codebuf, nsize); \
if (codebuf == NULL) \
err(1, NULL); \
e_code = codebuf + (e_code-s_code) + 1; \
@@ -66,7 +66,7 @@ FILE *output; /* the output file */
if (e_com >= l_com) { \
int nsize = l_com-s_com+400; \
\
- combuf = (char *) realloc(combuf, nsize); \
+ combuf = realloc(combuf, nsize); \
if (combuf == NULL) \
err(1, NULL); \
e_com = combuf + (e_com-s_com) + 1; \
@@ -77,7 +77,7 @@ FILE *output; /* the output file */
if (e_lab >= l_lab) { \
int nsize = l_lab-s_lab+400; \
\
- labbuf = (char *) realloc(labbuf, nsize); \
+ labbuf = realloc(labbuf, nsize); \
if (labbuf == NULL) \
err(1, NULL); \
e_lab = labbuf + (e_lab-s_lab) + 1; \
@@ -88,7 +88,7 @@ FILE *output; /* the output file */
if (e_token >= l_token) { \
int nsize = l_token-s_token+400; \
\
- tokenbuf = (char *) realloc(tokenbuf, nsize); \
+ tokenbuf = realloc(tokenbuf, nsize); \
if (tokenbuf == NULL) \
err(1, NULL); \
e_token = tokenbuf + (e_token-s_token) + 1; \