add chaos_calmer branch
[15.05/openwrt.git] / package / boot / grub2 / patches / 200-fix-gets-removal.patch
1 --- a/grub-core/gnulib/stdio.in.h
2 +++ b/grub-core/gnulib/stdio.in.h
3 @@ -695,13 +695,6 @@ _GL_WARN_ON_USE (getline, "getline is un
4  # endif
5  #endif
6  
7 -/* It is very rare that the developer ever has full control of stdin,
8 -   so any use of gets warrants an unconditional warning; besides, C11
9 -   removed it.  */
10 -#undef gets
11 -#if HAVE_RAW_DECL_GETS
12 -#endif
13 -
14  
15  #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
16  struct obstack;