diff options
| author | Michael R. Mauger | 2017-07-24 22:15:04 -0400 |
|---|---|---|
| committer | Michael R. Mauger | 2017-07-24 22:15:04 -0400 |
| commit | df1a71272e5cdd10b511e2ffd702ca50ddd8a773 (patch) | |
| tree | 9b9ac725394ee80891e2bff57b6407d0e491e71a /lib/string.in.h | |
| parent | eb27fc4d49e8c914cd0e6a8a2d02159601542141 (diff) | |
| parent | 32daa3cb54523006c88717cbeac87964cd687a1b (diff) | |
| download | emacs-df1a71272e5cdd10b511e2ffd702ca50ddd8a773.tar.gz emacs-df1a71272e5cdd10b511e2ffd702ca50ddd8a773.zip | |
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Diffstat (limited to 'lib/string.in.h')
| -rw-r--r-- | lib/string.in.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/string.in.h b/lib/string.in.h index 9a6b311d007..aaff5638d0f 100644 --- a/lib/string.in.h +++ b/lib/string.in.h | |||
| @@ -74,6 +74,23 @@ | |||
| 74 | /* The definition of _GL_WARN_ON_USE is copied here. */ | 74 | /* The definition of _GL_WARN_ON_USE is copied here. */ |
| 75 | 75 | ||
| 76 | 76 | ||
| 77 | /* Clear a block of memory. The compiler will not delete a call to | ||
| 78 | this function, even if the block is dead after the call. */ | ||
| 79 | #if @GNULIB_EXPLICIT_BZERO@ | ||
| 80 | # if ! @HAVE_EXPLICIT_BZERO@ | ||
| 81 | _GL_FUNCDECL_SYS (explicit_bzero, void, | ||
| 82 | (void *__dest, size_t __n) _GL_ARG_NONNULL ((1))); | ||
| 83 | # endif | ||
| 84 | _GL_CXXALIAS_SYS (explicit_bzero, void, (void *__dest, size_t __n)); | ||
| 85 | _GL_CXXALIASWARN (explicit_bzero); | ||
| 86 | #elif defined GNULIB_POSIXCHECK | ||
| 87 | # undef explicit_bzero | ||
| 88 | # if HAVE_RAW_DECL_EXPLICIT_BZERO | ||
| 89 | _GL_WARN_ON_USE (explicit_bzero, "explicit_bzero is unportable - " | ||
| 90 | "use gnulib module explicit_bzero for portability"); | ||
| 91 | # endif | ||
| 92 | #endif | ||
| 93 | |||
| 77 | /* Find the index of the least-significant set bit. */ | 94 | /* Find the index of the least-significant set bit. */ |
| 78 | #if @GNULIB_FFSL@ | 95 | #if @GNULIB_FFSL@ |
| 79 | # if !@HAVE_FFSL@ | 96 | # if !@HAVE_FFSL@ |