mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-15 10:29:47 +00:00
removed double def for ssl_sw
This commit is contained in:
1 parent
762a68a0cf
commit
853d162b55
2 files changed
-4
No files matched your search
@@ -323,8 +323,6 @@ struct ssl_func {
|
||||
void (*ptr)(void); // Function pointer
|
||||
};
|
||||
|
||||
static struct ssl_func ssl_sw[30];
|
||||
|
||||
#define SSL_free (* (void (*)(SSL *)) ssl_sw[0].ptr)
|
||||
#define SSL_accept (* (int (*)(SSL *)) ssl_sw[1].ptr)
|
||||
#define SSL_connect (* (int (*)(SSL *)) ssl_sw[2].ptr)
|
||||
|
||||
@@ -323,8 +323,6 @@ struct ssl_func {
|
||||
void (*ptr)(void); // Function pointer
|
||||
};
|
||||
|
||||
static struct ssl_func ssl_sw[30];
|
||||
|
||||
#define SSL_free (* (void (*)(SSL *)) ssl_sw[0].ptr)
|
||||
#define SSL_accept (* (int (*)(SSL *)) ssl_sw[1].ptr)
|
||||
#define SSL_connect (* (int (*)(SSL *)) ssl_sw[2].ptr)
|
||||
|
||||
Reference in new issue
Block a user