From: Wayne Davison Date: Sat, 4 Jul 2020 21:16:01 +0000 (-0700) Subject: Initialize values string in a more consistent spot. X-Git-Tag: v3.2.2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0add026a5d24da65c16e9c837f6e252db8842f2d;p=thirdparty%2Frsync.git Initialize values string in a more consistent spot. --- diff --git a/daemon-parm.awk b/daemon-parm.awk index dd0eded0..ad52e9d9 100755 --- a/daemon-parm.awk +++ b/daemon-parm.awk @@ -6,7 +6,6 @@ BEGIN { heading = "/* DO NOT EDIT THIS FILE! It is auto-generated from a list of values in " ARGV[1] "! */\n\n" sect = psect = defines = accessors = prior_ptype = "" - values = "\nstatic const all_vars Defaults = {\n { /* Globals: */\n" parms = "\nstatic struct parm_struct parm_table[] = {" comment_fmt = "\n/********** %s **********/\n" tdstruct = "typedef struct {" @@ -22,6 +21,7 @@ BEGIN { exit } defines = tdstruct + values = "\nstatic const all_vars Defaults = {\n { /* Globals: */\n" exps = exp_values = sprintf(comment_fmt, "EXP") sect = "GLOBAL" psect = ", P_GLOBAL, &Vars.g."