diff options
author | Dean Prichard <dean.prichard@gmail.com> | 2010-02-05 01:40:58 -0800 |
---|---|---|
committer | Dean Prichard <dean.prichard@gmail.com> | 2010-02-05 01:40:58 -0800 |
commit | d0f7b076cc58443eaa8ed7d9c388fe1cce58408e (patch) | |
tree | 4dfee9b69a77eba4e773915aa4baf3faa8f60cf1 /src/cmd/5a/a.h | |
parent | c944300b886a208142c41b5437f4ffc46cc721bd (diff) | |
download | go-d0f7b076cc58443eaa8ed7d9c388fe1cce58408e.tar.gz |
5a/6a/8a/5c/6c/8c: remove fixed-size arrays for -I and -D options
R=rsc
CC=golang-dev
http://codereview.appspot.com/198044
Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/cmd/5a/a.h')
-rw-r--r-- | src/cmd/5a/a.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cmd/5a/a.h b/src/cmd/5a/a.h index a6b75e2b7..6cd5af8c6 100644 --- a/src/cmd/5a/a.h +++ b/src/cmd/5a/a.h @@ -54,7 +54,6 @@ typedef struct Hist Hist; #define NSYMB 8192 #define BUFSIZ 8192 #define HISTSZ 20 -#define NINCLUDE 10 #define NHUNK 10000 #define EOF (-1) #define IGN (-2) @@ -128,13 +127,13 @@ enum EXTERN char debug[256]; EXTERN Sym* hash[NHASH]; -EXTERN char* Dlist[30]; +EXTERN char** Dlist; EXTERN int nDlist; EXTERN Hist* ehist; EXTERN int newflag; EXTERN Hist* hist; EXTERN char* hunk; -EXTERN char* include[NINCLUDE]; +EXTERN char** include; EXTERN Io* iofree; EXTERN Io* ionext; EXTERN Io* iostack; |