diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-09-14 18:38:29 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-09-14 18:38:29 +0000 |
commit | 1b19825ae5b29c5b3be1cc7392b8771f59f70262 (patch) | |
tree | f0054f156bff05eba6c57f3fe000e0bd586e639e | |
parent | d064d89c15a55c7565ed4f91b37c27cd88ff39af (diff) |
types
-rw-r--r-- | usr.bin/indent/indent_globs.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/indent/indent_globs.h b/usr.bin/indent/indent_globs.h index 3e7c88fd1b9..43b4b7c16a4 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.3 1997/07/25 22:00:45 mickey Exp $*/ +/* * $OpenBSD: indent_globs.h,v 1.4 1999/09/14 18:38:28 deraadt Exp $*/ /* * Copyright (c) 1985 Sun Microsystems, Inc. * Copyright (c) 1980 The Regents of the University of California. @@ -56,7 +56,7 @@ FILE *output; /* the output file */ #define CHECK_SIZE_CODE \ if (e_code >= l_code) { \ - register nsize = l_code-s_code+400; \ + register 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 nsize = l_com-s_com+400; \ + register 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 nsize = l_lab-s_lab+400; \ + register 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 nsize = l_token-s_token+400; \ + register 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; \ |