From 1f78c9c6b52cbc451491a45375a7d2dcf98161b4 Mon Sep 17 00:00:00 2001 From: divverent Date: Mon, 2 Mar 2015 13:31:32 +0000 Subject: [PATCH] Fix warnings for missing prototypes. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12167 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=dd9ceb6ccbca98a08618a61395b7cee97973fe5a --- libcurl.h | 1 + netconn.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libcurl.h b/libcurl.h index c01aed35..15bf019b 100644 --- a/libcurl.h +++ b/libcurl.h @@ -15,6 +15,7 @@ qboolean Curl_Begin_ToFile(const char *URL, double maxspeed, const char *name, i qboolean Curl_Begin_ToMemory(const char *URL, double maxspeed, unsigned char *buf, size_t bufsize, curl_callback_t callback, void *cbdata); qboolean Curl_Begin_ToMemory_POST(const char *URL, const char *extraheaders, double maxspeed, const char *post_content_type, const unsigned char *postbuf, size_t postbufsize, unsigned char *buf, size_t bufsize, curl_callback_t callback, void *cbdata); +void Curl_Cancel_ToMemory(curl_callback_t callback, void* cbdata); void Curl_Init(void); void Curl_Init_Commands(void); diff --git a/netconn.c b/netconn.c index abf8e31a..4badfab6 100755 --- a/netconn.c +++ b/netconn.c @@ -690,7 +690,7 @@ qboolean NetConn_CanSend(netconn_t *conn) } } -void NetConn_UpdateCleartime(double *cleartime, int rate, int burstsize, int len) +static void NetConn_UpdateCleartime(double *cleartime, int rate, int burstsize, int len) { double bursttime = burstsize / (double)rate; -- 2.39.2