[PATCHv2] smbreadline: switch to new-style readline typedef

Andrew Bartlett abartlet at samba.org
Tue Mar 11 20:12:18 MDT 2014


On Fri, 2014-03-07 at 12:16 -0800, Jeremy Allison wrote:
> On Thu, Mar 06, 2014 at 06:57:40PM -0300, Gustavo Zacarias wrote:
> > Function, CPFunction, CPPFunction and VFunction typedefs are considered
> > old-style (deprecated) starting from readline 4.2 (circa 2001).
> > Compatibility typedefs have been in place up to readline 6.2 but were
> > removed with the 6.3 release thus causing builds to break.
> > Switch to the new-style specific prototyped typedef.
> > 
> > Return value is unused so the callback should still be void (see
> > readline/input.c around line 456 in version 6.3).
> > 
> > Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
> 
> Reviewed-by: Jeremy Allison <jra at samba.org>

Reviewed-by: Andrew Bartlett <abartlet at samba.org>

Andrew Bartlett

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba






More information about the samba-technical mailing list