diff options
| author | Paul Eggert | 2020-05-03 14:57:10 -0700 |
|---|---|---|
| committer | Paul Eggert | 2020-05-03 15:10:07 -0700 |
| commit | 6bd47f4477904a55fc08345394bfab9cd7eae2eb (patch) | |
| tree | 12c98d95f3e66d85164bcf3adbc8f8db1c391939 /lib/nstrftime.c | |
| parent | 40149b871889461713dc73634498f9d2150b0249 (diff) | |
| download | emacs-6bd47f4477904a55fc08345394bfab9cd7eae2eb.tar.gz emacs-6bd47f4477904a55fc08345394bfab9cd7eae2eb.zip | |
Update from Gnulib
This incorporates:
2020-05-03 attribute: new module
2020-04-13 explicit_bzero: improve code style
2020-04-13 explicit_bzero: On native Windows, use SecureZeroMemory
2020-04-13 explicit_bzero: use memset_s() when available
2020-04-04 maint: remove a stray inter-word space
* build-aux/config.guess, build-aux/config.sub:
* build-aux/gitlog-to-changelog, build-aux/update-copyright:
* doc/misc/texinfo.tex, lib/explicit_bzero.c, lib/ieee754.in.h:
* lib/nstrftime.c, m4/explicit_bzero.m4, m4/gnulib-common.m4:
Copy from Gnulib.
* lib/attribute.h: New file, copied from Gnulib.
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
Diffstat (limited to 'lib/nstrftime.c')
| -rw-r--r-- | lib/nstrftime.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/nstrftime.c b/lib/nstrftime.c index fc5052a549c..28b539dc2f2 100644 --- a/lib/nstrftime.c +++ b/lib/nstrftime.c | |||
| @@ -68,16 +68,9 @@ extern char *tzname[]; | |||
| 68 | #include <string.h> | 68 | #include <string.h> |
| 69 | #include <stdbool.h> | 69 | #include <stdbool.h> |
| 70 | 70 | ||
| 71 | #include "attribute.h" | ||
| 71 | #include <intprops.h> | 72 | #include <intprops.h> |
| 72 | 73 | ||
| 73 | #ifndef FALLTHROUGH | ||
| 74 | # if __GNUC__ < 7 | ||
| 75 | # define FALLTHROUGH ((void) 0) | ||
| 76 | # else | ||
| 77 | # define FALLTHROUGH __attribute__ ((__fallthrough__)) | ||
| 78 | # endif | ||
| 79 | #endif | ||
| 80 | |||
| 81 | #ifdef COMPILE_WIDE | 74 | #ifdef COMPILE_WIDE |
| 82 | # include <endian.h> | 75 | # include <endian.h> |
| 83 | # define CHAR_T wchar_t | 76 | # define CHAR_T wchar_t |