summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2021-01-27 05:06:12 +0000
committerderaadt <deraadt@openbsd.org>2021-01-27 05:06:12 +0000
commitc796808ce46fa5cc70abaa0ca8e344d98737a581 (patch)
tree744f49b6a5297039867989a50eb0fad1ecd384c1
parentshuffle externs (and definitions) around to satisfy -fno-common (diff)
downloadwireguard-openbsd-c796808ce46fa5cc70abaa0ca8e344d98737a581.tar.xz
wireguard-openbsd-c796808ce46fa5cc70abaa0ca8e344d98737a581.zip
nsd contains two yacc parsers, but predates "yacc -b". Instead a
script renames the fields in one parser. Three additional variables (yysslim, yyssp, yystacksize) need to be renamed also. Yes it is worse than stepping out of bed on the wrong side into cat vomit.
-rw-r--r--usr.sbin/nsd/configyyrename.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/nsd/configyyrename.h b/usr.sbin/nsd/configyyrename.h
index a637f41d229..e16643533b2 100644
--- a/usr.sbin/nsd/configyyrename.h
+++ b/usr.sbin/nsd/configyyrename.h
@@ -33,6 +33,9 @@
#define yypv c_pv
#define yys c_s
#define yyss c_ss
+#define yysslim c_sslimit
+#define yyssp c_ssp
+#define yystacksize c_stacksize
#define yy_yys c_yys
#define yystate c_state
#define yytmp c_tmp