From 973ae30e7c4f7a1afb385dd3d8eeea178f981445 Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Mon, 8 Jul 2024 13:24:39 +0200 Subject: fix deprecated prototypes --- src/include/tls_timeoutio.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/include/tls_timeoutio.h') diff --git a/src/include/tls_timeoutio.h b/src/include/tls_timeoutio.h index 175757e..fe3cd86 100644 --- a/src/include/tls_timeoutio.h +++ b/src/include/tls_timeoutio.h @@ -3,13 +3,14 @@ #include -int tls_timeoutconn(int t, int rfd, int wfd, SSL *tls); -int tls_timeoutaccept(int t, int rfd, int wfd, SSL *tls); -int tsl_timeoutrehandshake(int t, int rfd, int wfd, SSL *tls); +extern int tls_timeoutconn(int t, int rfd, int wfd, SSL *tls); +extern int tls_timeoutaccept(int t, int rfd, int wfd, SSL *tls); +extern int tls_timeoutrehandshake(int t, int rfd, int wfd, SSL *tls); -int tls_timeoutread(int t, int rfd, int wfd, SSL *tls, char *buf, int len); -int tls_timeoutwrite(int t, int rfd, int wfd, SSL *tls, char *buf, int len); +extern int tls_timeoutread(int t, int rfd, int wfd, SSL *tls, char *buf, int len); +extern int tls_timeoutwrite(int t, int rfd, int wfd, SSL *tls, char *buf, int len); -int tls_timeoutio(int (*fun)(), int t, int rfd, int wfd, SSL *tls, char *buf, int len); +extern int tls_timeoutio( + int (*fun)(SSL *, void *, int), int t, int rfd, int wfd, SSL *tls, char *buf, int len); #endif -- cgit v1.2.3