Subject: build error

build error

From: Simon Josefsson <simon_at_josefsson.org>
Date: Wed, 27 Oct 2010 11:46:26 +0200

channel.c:129: error: conflicting types for ‘_libssh2_channel_open’
channel.h:91: note: previous declaration of ‘_libssh2_channel_open’ was here

Indeed, the following commit changed the prototype of the function from
'unsigned int' to 'size_t'.

http://git.libssh2.org/?p=libssh2.git;a=commitdiff;h=c48840ba887da0737f9effc474369898e2a4e85e;js=1

That looked like a good change, so I fixed the header file:

http://git.libssh2.org/?p=libssh2.git;a=commitdiff;h=1dc366109db300ab0e4a3e5830b460a9b9f36c34;js=1

/Simon
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-10-27