]> Savannah Git Hosting - gnulib.git/commit
sh-quote: backport fix from diffutils
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 5 Feb 2023 21:20:54 +0000 (13:20 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 5 Feb 2023 21:20:54 +0000 (13:20 -0800)
commit431af5a160d3a946c9c27a30274fc708e8b74dfd
tree3bbf229d2fdf55a6ab852fe22b4bbe72185f43c5
parent28c79f93121923acb8cc77270a63701ed4926846
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
ChangeLog
lib/sh-quote.c