diff options
| author | Paul Eggert | 2013-02-11 15:15:46 -0800 |
|---|---|---|
| committer | Paul Eggert | 2013-02-11 15:15:46 -0800 |
| commit | 71d4202f204ea5fad93eb34406f0ef671630f271 (patch) | |
| tree | fec0fef790d77c00f2dd5d0399fdb9a07425eb07 /lib | |
| parent | 6659b59ccb7909a07f71a0143fd9d85e60b8e414 (diff) | |
| download | emacs-71d4202f204ea5fad93eb34406f0ef671630f271.tar.gz emacs-71d4202f204ea5fad93eb34406f0ef671630f271.zip | |
Merge from gnulib.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/stdlib.in.h | 2 | ||||
| -rw-r--r-- | lib/unsetenv.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h index e054c520ebe..c9552480e5d 100644 --- a/lib/stdlib.in.h +++ b/lib/stdlib.in.h | |||
| @@ -773,7 +773,7 @@ _GL_WARN_ON_USE (rpmatch, "rpmatch is unportable - " | |||
| 773 | _GL_FUNCDECL_SYS (secure_getenv, char *, | 773 | _GL_FUNCDECL_SYS (secure_getenv, char *, |
| 774 | (char const *name) _GL_ARG_NONNULL ((1))); | 774 | (char const *name) _GL_ARG_NONNULL ((1))); |
| 775 | # endif | 775 | # endif |
| 776 | _GL_CXXALIAS_SYS (secure_getenv, int, (char const *name)); | 776 | _GL_CXXALIAS_SYS (secure_getenv, char *, (char const *name)); |
| 777 | _GL_CXXALIASWARN (secure_getenv); | 777 | _GL_CXXALIASWARN (secure_getenv); |
| 778 | #elif defined GNULIB_POSIXCHECK | 778 | #elif defined GNULIB_POSIXCHECK |
| 779 | # undef secure_getenv | 779 | # undef secure_getenv |
diff --git a/lib/unsetenv.c b/lib/unsetenv.c index eea21129031..c58c82f4f44 100644 --- a/lib/unsetenv.c +++ b/lib/unsetenv.c | |||
| @@ -14,12 +14,12 @@ | |||
| 14 | You should have received a copy of the GNU General Public License | 14 | You should have received a copy of the GNU General Public License |
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
| 16 | 16 | ||
| 17 | #include <config.h> | ||
| 18 | |||
| 19 | /* Don't use __attribute__ __nonnull__ in this compilation unit. Otherwise gcc | 17 | /* Don't use __attribute__ __nonnull__ in this compilation unit. Otherwise gcc |
| 20 | optimizes away the name == NULL test below. */ | 18 | optimizes away the name == NULL test below. */ |
| 21 | #define _GL_ARG_NONNULL(params) | 19 | #define _GL_ARG_NONNULL(params) |
| 22 | 20 | ||
| 21 | #include <config.h> | ||
| 22 | |||
| 23 | /* Specification. */ | 23 | /* Specification. */ |
| 24 | #include <stdlib.h> | 24 | #include <stdlib.h> |
| 25 | 25 | ||