mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-26 23:20:29 -08:00
C23 is adding the C++ keywords bool, true, and false; prefer them to <stdbool.h> if they are available. * admin/merge-gnulib (GNULIB_MODULES): Add stdbool, which emulates C23 on pre-C23 platforms. (AVOIDED_MODULES): Remove stdbool; Gnulib has renamed this module to stdbool-c99 and nobody uses it so it does not need to be avoided. * m4/c-bool.m4: New file, from Gnulib stdbool module. * lib-src/seccomp-filter.c, src/conf_post.h, src/dynlib.h: * src/emacs-module.c, src/nsterm.m, src/systhread.h: * test/src/emacs-module-resources/mod-test.c: Use the C23 style and use bool without including <stdbool.h>. The Gnulib stdbool module causes config.h to include stdbool.h on pre-C23 platforms. * src/emacs-module.h.in: Don’t include <stdbool.h> if C23 or later, or if it has already been included. |
||
|---|---|---|
| .. | ||
| malloc | ||
| _Noreturn.h | ||
| acl-errno-valid.c | ||
| acl-internal.c | ||
| acl-internal.h | ||
| acl.h | ||
| acl_entries.c | ||
| af_alg.h | ||
| alloca.in.h | ||
| allocator.c | ||
| allocator.h | ||
| arg-nonnull.h | ||
| assert.in.h | ||
| at-func.c | ||
| attribute.h | ||
| binary-io.c | ||
| binary-io.h | ||
| byteswap.in.h | ||
| c++defs.h | ||
| c-ctype.c | ||
| c-ctype.h | ||
| c-strcase.h | ||
| c-strcasecmp.c | ||
| c-strncasecmp.c | ||
| canonicalize-lgpl.c | ||
| careadlinkat.c | ||
| careadlinkat.h | ||
| cdefs.h | ||
| cloexec.c | ||
| cloexec.h | ||
| close-stream.c | ||
| close-stream.h | ||
| copy-file-range.c | ||
| COPYING | ||
| count-leading-zeros.c | ||
| count-leading-zeros.h | ||
| count-one-bits.c | ||
| count-one-bits.h | ||
| count-trailing-zeros.c | ||
| count-trailing-zeros.h | ||
| diffseq.h | ||
| dirent.in.h | ||
| dirfd.c | ||
| dtoastr.c | ||
| dtotimespec.c | ||
| dup2.c | ||
| dynarray.h | ||
| eloop-threshold.h | ||
| errno.in.h | ||
| euidaccess.c | ||
| execinfo.c | ||
| execinfo.in.h | ||
| explicit_bzero.c | ||
| faccessat.c | ||
| fchmodat.c | ||
| fcntl.c | ||
| fcntl.in.h | ||
| fdopendir.c | ||
| file-has-acl.c | ||
| filemode.c | ||
| filemode.h | ||
| filename.h | ||
| filevercmp.c | ||
| filevercmp.h | ||
| fingerprint.c | ||
| fingerprint.h | ||
| flexmember.h | ||
| fpending.c | ||
| fpending.h | ||
| free.c | ||
| fstatat.c | ||
| fsusage.c | ||
| fsusage.h | ||
| fsync.c | ||
| ftoastr.c | ||
| ftoastr.h | ||
| futimens.c | ||
| get-permissions.c | ||
| getdtablesize.c | ||
| getgroups.c | ||
| getloadavg.c | ||
| getopt-cdefs.in.h | ||
| getopt-core.h | ||
| getopt-ext.h | ||
| getopt-pfx-core.h | ||
| getopt-pfx-ext.h | ||
| getopt.c | ||
| getopt.in.h | ||
| getopt1.c | ||
| getopt_int.h | ||
| getrandom.c | ||
| gettext.h | ||
| gettime.c | ||
| gettimeofday.c | ||
| gnulib.mk.in | ||
| group-member.c | ||
| idx.h | ||
| ieee754.in.h | ||
| ignore-value.h | ||
| intprops-internal.h | ||
| intprops.h | ||
| inttypes.in.h | ||
| lchmod.c | ||
| libc-config.h | ||
| limits.in.h | ||
| lstat.c | ||
| Makefile.in | ||
| malloc.c | ||
| md5-stream.c | ||
| md5.c | ||
| md5.h | ||
| memmem.c | ||
| mempcpy.c | ||
| memrchr.c | ||
| min-max.h | ||
| mini-gmp-gnulib.c | ||
| mini-gmp.c | ||
| mini-gmp.h | ||
| minmax.h | ||
| mkostemp.c | ||
| mktime-internal.h | ||
| mktime.c | ||
| nanosleep.c | ||
| nproc.c | ||
| nproc.h | ||
| nstrftime.c | ||
| open.c | ||
| openat-die.c | ||
| openat-priv.h | ||
| openat-proc.c | ||
| openat.h | ||
| pathmax.h | ||
| pipe2.c | ||
| pselect.c | ||
| pthread_sigmask.c | ||
| qcopy-acl.c | ||
| rawmemchr.c | ||
| rawmemchr.valgrind | ||
| readlink.c | ||
| readlinkat.c | ||
| realloc.c | ||
| regcomp.c | ||
| regex.c | ||
| regex.h | ||
| regex_internal.c | ||
| regex_internal.h | ||
| regexec.c | ||
| root-uid.h | ||
| save-cwd.c | ||
| save-cwd.h | ||
| scratch_buffer.h | ||
| set-permissions.c | ||
| sha1.c | ||
| sha1.h | ||
| sha256.c | ||
| sha256.h | ||
| sha512.c | ||
| sha512.h | ||
| sig2str.c | ||
| sig2str.h | ||
| sigdescr_np.c | ||
| signal.in.h | ||
| stat-time.c | ||
| stat-time.h | ||
| stdalign.in.h | ||
| stdckdint.in.h | ||
| stddef.in.h | ||
| stdint.in.h | ||
| stdio-impl.h | ||
| stdio.in.h | ||
| stdlib.in.h | ||
| stpcpy.c | ||
| str-two-way.h | ||
| strftime.h | ||
| string.in.h | ||
| strnlen.c | ||
| strtoimax.c | ||
| strtol.c | ||
| strtoll.c | ||
| symlink.c | ||
| sys_random.in.h | ||
| sys_select.in.h | ||
| sys_stat.in.h | ||
| sys_time.in.h | ||
| sys_types.in.h | ||
| tempname.c | ||
| tempname.h | ||
| time-internal.h | ||
| time.in.h | ||
| time_r.c | ||
| time_rz.c | ||
| timegm.c | ||
| timespec-add.c | ||
| timespec-sub.c | ||
| timespec.c | ||
| timespec.h | ||
| u64.c | ||
| u64.h | ||
| unistd.c | ||
| unistd.in.h | ||
| unlocked-io.h | ||
| utimens.c | ||
| utimens.h | ||
| utimensat.c | ||
| verify.h | ||
| vla.h | ||
| warn-on-use.h | ||
| xalloc-oversized.h | ||