diff options
| author | Paul Eggert | 2025-06-27 23:53:32 -0700 |
|---|---|---|
| committer | Paul Eggert | 2025-06-27 23:54:45 -0700 |
| commit | dd1efa5309d82139c6637e21ebd9eeb55e1814c1 (patch) | |
| tree | 441168d59e70a7ec07832143032caa327e46ecd4 /exec/exec.c | |
| parent | dbdf761187d7cccfad20a2899bab3dc77f379c3a (diff) | |
| download | emacs-dd1efa5309d82139c6637e21ebd9eeb55e1814c1.tar.gz emacs-dd1efa5309d82139c6637e21ebd9eeb55e1814c1.zip | |
Port varargs macros better to C99
C99 prohibits passing zero args to macro’s ‘...’.
* lib-src/seccomp-filter.c (RULE0): New macro, which is like RULE
except with zero args. All zero-arg uses of RULE changed to RULE0.
* src/comp.c (compile_function, Fcomp__init_ctxt, syms_of_comp):
Change ‘CALLN (Fmake_hash_table)’ to ‘Fmake_hash_table (0, NULL)’,
since CALLN requires at least two args in C99.
Diffstat (limited to 'exec/exec.c')
0 files changed, 0 insertions, 0 deletions