diff options
author | Bart Schaefer <schaefer@ipost.com> | 2021-05-16 19:51:11 -0700 |
---|---|---|
committer | Bart Schaefer <schaefer@ipost.com> | 2021-05-16 19:51:11 -0700 |
commit | cf5c4828d1cdfd79e369a6b3323466bc961851c4 (patch) | |
tree | 5eaf375db11852b23df617ae0a64895e262ec2f2 /Src/makepro.awk | |
parent | 93b4ee524df9cee5886785e9a36596af872f95f7 (diff) | |
download | zsh-cf5c4828d1cdfd79e369a6b3323466bc961851c4.tar.gz zsh-cf5c4828d1cdfd79e369a6b3323466bc961851c4.zip |
48857: declare "volatile" all globals that may be modified by signal handlers
Diffstat (limited to 'Src/makepro.awk')
-rw-r--r-- | Src/makepro.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/makepro.awk b/Src/makepro.awk index 226d3f96b..f69660531 100644 --- a/Src/makepro.awk +++ b/Src/makepro.awk @@ -79,7 +79,7 @@ BEGIN { break } sub(/^ */, "", line) - match(line, /^((const|enum|mod_export|static|struct|union) +)*([_0-9A-Za-z]+ +|((char|double|float|int|long|short|unsigned|void) +)+)((const|static) +)*/) + match(line, /^((const|enum|mod_export|static|struct|union|volatile) +)*([_0-9A-Za-z]+ +|((char|double|float|int|long|short|unsigned|void) +)+)((const|static) +)*/) dtype = substr(line, 1, RLENGTH) sub(/ *$/, "", dtype) if(" " dtype " " ~ / static /) |