Backport gnulib fixes for C11. Fixes Savannah bug #37738.
* grub-core/gnulib/stdio.in.h (gets): Warn on use only if HAVE_RAW_DECL_GETS. * m4/stdio_h.m4 (gl_STDIO_H): Check for gets.
This commit is contained in:
parent
e3501b1306
commit
7024b3c0c2
3 changed files with 13 additions and 3 deletions
|
@ -37,7 +37,7 @@ AC_DEFUN([gl_STDIO_H],
|
|||
dnl corresponding gnulib module is not in use, and which is not
|
||||
dnl guaranteed by C89.
|
||||
gl_WARN_ON_USE_PREPARE([[#include <stdio.h>
|
||||
]], [dprintf fpurge fseeko ftello getdelim getline popen renameat
|
||||
]], [dprintf fpurge fseeko ftello getdelim getline gets popen renameat
|
||||
snprintf tmpfile vdprintf vsnprintf])
|
||||
])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue