aboutsummaryrefslogtreecommitdiff
path: root/src/net.c
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2022-07-22 21:08:09 +0200
committerJan200101 <sentrycraft123@gmail.com>2022-07-22 21:57:39 +0200
commit1de8b89807222b5673505fea2bec1af4c0af8c7d (patch)
treef0b7a5e08013114a5b3f927d93caa8f674775fa9 /src/net.c
parente4cff606fccdb7b8ac1c9bf5204a6b52e296bfe9 (diff)
downloadOFQT-1de8b89807222b5673505fea2bec1af4c0af8c7d.tar.gz
OFQT-1de8b89807222b5673505fea2bec1af4c0af8c7d.zip
Correct function prototypes,add more Cflags for sanity,add sanity assets
Diffstat (limited to 'src/net.c')
-rw-r--r--src/net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net.c b/src/net.c
index cbf6568..03b3990 100644
--- a/src/net.c
+++ b/src/net.c
@@ -12,12 +12,12 @@
// official servers only whitelist some UAs
#define USER_AGENT "murse/0.1 (" NAME "/" VERSION ")"
-void net_init()
+void net_init(void)
{
curl_global_init(CURL_GLOBAL_ALL);
}
-void net_deinit()
+void net_deinit(void)
{
curl_global_cleanup();
}