]> git.tue.mpg.de Git - paraslash.git/commitdiff
afh: Make parse result pointer static.
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 16 May 2017 20:48:02 +0000 (22:48 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 3 Jun 2017 04:45:52 +0000 (06:45 +0200)
It is only referenced within afh.c.

afh.c

diff --git a/afh.c b/afh.c
index 4955b3cfea12e6e7abf93b672d4501cb1e46ca85..9d40caeb8b33fb7442bb1f822af7f6eba0a2c332 100644 (file)
--- a/afh.c
+++ b/afh.c
@@ -20,7 +20,7 @@
 /** Array of error strings. */
 DEFINE_PARA_ERRLIST;
 
-struct lls_parse_result *lpr;
+static struct lls_parse_result *lpr;
 
 #define CMD_PTR (lls_cmd(0, afh_suite))
 #define OPT_RESULT(_name) (lls_opt_result(LSG_AFH_PARA_AFH_OPT_ ## _name, lpr))