]> arthur.barton.de Git - bup.git/commit
Avoid readline.h -Wstrict-prototype induced failures
authorRob Browning <rlb@defaultvalue.org>
Sun, 21 Jun 2020 16:50:30 +0000 (11:50 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sun, 5 Jul 2020 16:16:23 +0000 (11:16 -0500)
commita8616d0366d3b0f77cdb9e68f2a8142b5a4c28e1
treee23e215b3f7ae2524b17e5f9371e3f46ed07f9ad
parenteabe4037eb2807de40ca0a15fee0e3b3def01f63
Avoid readline.h -Wstrict-prototype induced failures

On some platforms -Wstrict-prototype is now the default, and readline
includes prototypes like "int foo()" rather than "int foo(void)", so
for now, just suppress those warnings for the readline includes.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/_helpers.c