From: David Griffith Date: Tue, 31 Jul 2018 05:30:28 +0000 (-0700) Subject: Comment out some extern declarations for variables only used locally. X-Git-Url: https://scope-eye.net/git/?a=commitdiff_plain;h=bb3ee073f936028e7c95bcd2a73707f7d868b9e1;p=liskon_frotz.git Comment out some extern declarations for variables only used locally. --- diff --git a/src/dumb/dumb_blorb.c b/src/dumb/dumb_blorb.c index 329ebbb..26efd27 100644 --- a/src/dumb/dumb_blorb.c +++ b/src/dumb/dumb_blorb.c @@ -34,7 +34,7 @@ f_setup_t f_setup; FILE *blorb_fp; bb_result_t blorb_res; -bb_map_t *blorb_map; +/* bb_map_t *blorb_map; */ /* Used only locally */ static int isblorb(FILE *); @@ -62,7 +62,7 @@ bb_err_t dumb_blorb_init(char *filename) bb_err_t blorb_err; - blorb_map = NULL; + bb_map_t *blorb_map = NULL; if ((fp = fopen(filename, "rb")) == NULL) return bb_err_Read; diff --git a/src/dumb/dumb_blorb.h b/src/dumb/dumb_blorb.h index cf9e074..55bee92 100644 --- a/src/dumb/dumb_blorb.h +++ b/src/dumb/dumb_blorb.h @@ -25,10 +25,13 @@ typedef struct { FILE *fp; } myresource; -extern bb_err_t blorb_err; -extern bb_map_t *blorb_map; -extern bb_result_t blorb_res; -extern FILE *blorb_fp; +/* These are used only locally */ +/* +extern bb_err_t blorb_err; +extern bb_map_t *blorb_map; +extern FILE *blorb_fp; +*/ +extern bb_result_t blorb_res; bb_err_t dumb_blorb_init(char *); void dumb_blorb_stop(void);