lib/replace: apply readline -Wstrict-prototypes workaround
authorUri Simchoni <uri@samba.org>
Sun, 19 Nov 2017 20:22:33 +0000 (20:22 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 24 Nov 2017 04:16:10 +0000 (05:16 +0100)
commit926e7a7cb46ef2b243f1247eee48c87ea546849b
tree3a927cebbae993bf5d5fb0d0834ae7cac359b85f
parent16cedcb173da89a9d6f8894e6ff4a42158c5c3b2
lib/replace: apply readline -Wstrict-prototypes workaround

clang -Wstrict-prototypes has issues with readline > 6.3.
Fix suggested by Timur I. Bakeyev <timur@freebsd.org>

cf. https://lists.gnu.org/archive/html/bug-readline/2014-04/msg00018.html
cf. https://lists.samba.org/archive/samba-technical/2017-November/123923.html

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Nov 24 05:16:10 CET 2017 on sn-devel-144
lib/replace/system/readline.h