* lib/sh-quote.c (init_sh_quoting_options):
Use C89 through C17 style for parameterless static function.
This avoided a warning when compiling diffutils.
This patch is backported from a circa-2009 diffutils patch
and lets us remove diffutils/gl/lib/sh-quote.c.diff; see:
https://git.savannah.gnu.org/cgit/diffutils.git/commit/?id=
8c3d25a63a2c5912170ef6e13f748f3904e6b5cf
2023-02-05 Paul Eggert <eggert@cs.ucla.edu>
+ sh-quote: backport fix from diffutils
+ * lib/sh-quote.c (init_sh_quoting_options):
+ Use C89 through C17 style for parameterless static function.
+ This avoided a warning when compiling diffutils.
+ This patch is backported from a circa-2009 diffutils patch
+ and lets us remove diffutils/gl/lib/sh-quote.c.diff; see:
+ https://git.savannah.gnu.org/cgit/diffutils.git/commit/?id=8c3d25a63a2c5912170ef6e13f748f3904e6b5cf
+
c-nullptr: new module
* doc/gnulib.texi (nullptr): New section.
* doc/posix-headers/stddef.texi: Document lack of nullptr_t.
/* Initializes the sh_quoting_options variable. */
static void
-init_sh_quoting_options ()
+init_sh_quoting_options (void)
{
sh_quoting_options = clone_quoting_options (NULL);
set_quoting_style (sh_quoting_options, shell_quoting_style);