diff options
author | Dan Willemsen <dwillemsen@google.com> | 2022-01-28 13:56:35 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2022-03-24 00:01:44 -0700 |
commit | 3c11d492c628c550156ff095a8e1ef9795bf8ee4 (patch) | |
tree | a9ba48bb4280046e5b80bb98277c69f9d66c74b6 /lib/stdio-safer.h | |
parent | 1d564b426399292021bf521360ef40451367a4ce (diff) | |
download | bison-3c11d492c628c550156ff095a8e1ef9795bf8ee4.tar.gz |
Upgrade to bison 3.8.2
This just replaces all the files with the 3.8.2 tarball contents and
restores the handful of android-specific files. It also updates the
METADATA file.
The (linux_glibc|linux_musl|darwin)-lib/... directories and Android.bp
file will be updated in a future set of changes.
Test: treehugger
Change-Id: I406c5d49edae31e412d1676ad69f9acd8a6ba8a6
Diffstat (limited to 'lib/stdio-safer.h')
-rw-r--r-- | lib/stdio-safer.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/stdio-safer.h b/lib/stdio-safer.h index 790846c2..53ee971b 100644 --- a/lib/stdio-safer.h +++ b/lib/stdio-safer.h @@ -1,6 +1,6 @@ /* Invoke stdio functions, but avoid some glitches. - Copyright (C) 2001, 2003, 2006, 2009-2019 Free Software Foundation, Inc. + Copyright (C) 2001, 2003, 2006, 2009-2021 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,17 +20,21 @@ #include <stdio.h> #if GNULIB_FOPEN_SAFER -FILE *fopen_safer (char const *, char const *); +FILE *fopen_safer (char const *, char const *) + _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_DEALLOC (fclose, 1); #endif #if GNULIB_FREOPEN_SAFER -FILE *freopen_safer (char const *, char const *, FILE *); +FILE *freopen_safer (char const *, char const *, FILE *) + _GL_ARG_NONNULL ((2, 3)); #endif #if GNULIB_POPEN_SAFER -FILE *popen_safer (char const *, char const *); +FILE *popen_safer (char const *, char const *) + _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_DEALLOC (pclose, 1); #endif #if GNULIB_TMPFILE_SAFER -FILE *tmpfile_safer (void); +FILE *tmpfile_safer (void) + _GL_ATTRIBUTE_DEALLOC (fclose, 1); #endif |