summaryrefslogtreecommitdiff
path: root/plugins/sudoers/gram.h
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@sudo.ws>2022-06-28 16:33:15 -0600
committerTodd C. Miller <Todd.Miller@sudo.ws>2022-06-28 16:33:15 -0600
commitb0f4428dd068c2d9a7fb4d5a7073efa2c182b7d6 (patch)
tree7b62f84248101456404439697697eda0dfc9b73c /plugins/sudoers/gram.h
parent1354b8515217f9e0f925631bf6fe2d399ccc63fd (diff)
downloadsudo-b0f4428dd068c2d9a7fb4d5a7073efa2c182b7d6.tar.gz
Make sudo pass -Wwrite-strings
Diffstat (limited to 'plugins/sudoers/gram.h')
-rw-r--r--plugins/sudoers/gram.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/sudoers/gram.h b/plugins/sudoers/gram.h
index 5ed1beaa0..0319ce164 100644
--- a/plugins/sudoers/gram.h
+++ b/plugins/sudoers/gram.h
@@ -185,9 +185,10 @@ union YYSTYPE
struct command_options options;
struct cmndtag tag;
char *string;
+ const char *cstring;
int tok;
-#line 191 "y.tab.h"
+#line 192 "y.tab.h"
};
typedef union YYSTYPE YYSTYPE;