summaryrefslogtreecommitdiffstats
path: root/usr.bin/indent/indent_globs.h
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-06-24 17:40:27 +0000
committerjmallett <jmallett@FreeBSD.org>2002-06-24 17:40:27 +0000
commita7ebe6f54440366cb30cb94a7839406c2ae20e0e (patch)
tree44ad57416f4dfd418d4f80ae1e0712c672637127 /usr.bin/indent/indent_globs.h
parentfe48a4f5d5b355d9e1838890f32ab5e5e7919173 (diff)
downloadFreeBSD-src-a7ebe6f54440366cb30cb94a7839406c2ae20e0e.zip
FreeBSD-src-a7ebe6f54440366cb30cb94a7839406c2ae20e0e.tar.gz
Remove deprecated register qualifier.
Diffstat (limited to 'usr.bin/indent/indent_globs.h')
-rw-r--r--usr.bin/indent/indent_globs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/indent/indent_globs.h b/usr.bin/indent/indent_globs.h
index 2726e5d..5f67413 100644
--- a/usr.bin/indent/indent_globs.h
+++ b/usr.bin/indent/indent_globs.h
@@ -56,7 +56,7 @@ FILE *output; /* the output file */
#define CHECK_SIZE_CODE \
if (e_code >= l_code) { \
- register int nsize = l_code-s_code+400; \
+ int nsize = l_code-s_code+400; \
codebuf = (char *) realloc(codebuf, nsize); \
e_code = codebuf + (e_code-s_code) + 1; \
l_code = codebuf + nsize - 5; \
@@ -64,7 +64,7 @@ FILE *output; /* the output file */
}
#define CHECK_SIZE_COM \
if (e_com >= l_com) { \
- register int nsize = l_com-s_com+400; \
+ int nsize = l_com-s_com+400; \
combuf = (char *) realloc(combuf, nsize); \
e_com = combuf + (e_com-s_com) + 1; \
l_com = combuf + nsize - 5; \
@@ -72,7 +72,7 @@ FILE *output; /* the output file */
}
#define CHECK_SIZE_LAB \
if (e_lab >= l_lab) { \
- register int nsize = l_lab-s_lab+400; \
+ int nsize = l_lab-s_lab+400; \
labbuf = (char *) realloc(labbuf, nsize); \
e_lab = labbuf + (e_lab-s_lab) + 1; \
l_lab = labbuf + nsize - 5; \
@@ -80,7 +80,7 @@ FILE *output; /* the output file */
}
#define CHECK_SIZE_TOKEN \
if (e_token >= l_token) { \
- register int nsize = l_token-s_token+400; \
+ int nsize = l_token-s_token+400; \
tokenbuf = (char *) realloc(tokenbuf, nsize); \
e_token = tokenbuf + (e_token-s_token) + 1; \
l_token = tokenbuf + nsize - 5; \
OpenPOWER on IntegriCloud