Fixes for -Wmissing-declarations and -Wwrite-strings warnings.
diff --git a/programs/winetest/send.c b/programs/winetest/send.c index 8ec105a..2e6e11c 100644 --- a/programs/winetest/send.c +++ b/programs/winetest/send.c
@@ -24,7 +24,7 @@ #include "winetest.h" -SOCKET +static SOCKET open_http (const char *server) { WSADATA wsad; @@ -61,7 +61,7 @@ return INVALID_SOCKET; } -int +static int close_http (SOCKET s) { int ret; @@ -70,7 +70,7 @@ return (WSACleanup () || ret); } -int +static int send_buf (SOCKET s, const char *buf, size_t length) { int sent; @@ -84,7 +84,7 @@ return 0; } -int +static int send_str (SOCKET s, ...) { va_list ap;