mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-29 13:01:13 +03:00
examples: Fix build issue with new clang 15
The error was the following /builds/libssh/libssh-mirror/examples/sshnetcat.c:241:18: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] void cleanup_pcap(){ ^ void and similar Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
This commit is contained in:
@ -453,7 +453,7 @@ connect_local_xsocket(int display_number)
|
||||
|
||||
|
||||
static int
|
||||
x11_connect_display()
|
||||
x11_connect_display(void)
|
||||
{
|
||||
int display_number;
|
||||
const char *display = NULL;
|
||||
|
Reference in New Issue
Block a user