]> git.eshelyaron.com Git - emacs.git/commit
Prefer static_assert to verify in seccomp-filter
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 2 Oct 2022 20:37:39 +0000 (13:37 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 2 Oct 2022 20:47:56 +0000 (13:47 -0700)
commit5598886adc9f7bc83ba9775151f839d4691128e4
tree968bc775052aabc4485fe988b4d8b42991b88e1f
parent3cc1706c63fde2e5a6313537817db2d32e829b6a
Prefer static_assert to verify in seccomp-filter

Prefer static_assert in just one file for now; the idea is to do
it elsewhere eventually.  static_assert is standard (starting with
C23) whereas verify is not, and static_assert can be used even in
pre-C23 files due to Gnulib’s support for it.
* lib-src/seccomp-filter.c: Do not include verify.h.
Prefer static_assert to verify.
lib-src/seccomp-filter.c