Convert casted X509_INFO stacks to type-safe STACK_OF(X509_INFO).
[openssl.git] / apps / s_socket.c
index 2c83dbb6072cfd5ff2dee1a60179666562a4e9c8..724d48a07169ca522e2dbc77207fb3e705696f54 100644 (file)
 #undef USE_SOCKETS
 #undef NON_MAIN
 #include "s_apps.h"
-#include "ssl.h"
+#include <openssl/ssl.h>
 
-#ifndef NOPROTO
 static struct hostent *GetHostByName(char *name);
 int sock_init(void );
-#else
-static struct hostent *GetHostByName();
-int sock_init();
-#endif
-
 #ifdef WIN16
 #define SOCKET_PROTOCOL        0 /* more microsoft stupidity */
 #else