aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2020-12-16 16:35:10 +0100
committerJan200101 <sentrycraft123@gmail.com>2020-12-16 16:35:10 +0100
commit1ca0317a351f3075b2ea0b9bb5e59ccb4bcb960b (patch)
tree4555aeb903071e2a12f66eff46fea403b716257d /src/net.h
parent7cfe6b1e6132e608fcc034bf97611e4b1eb57613 (diff)
downloadpolecat-1ca0317a351f3075b2ea0b9bb5e59ccb4bcb960b.tar.gz
polecat-1ca0317a351f3075b2ea0b9bb5e59ccb4bcb960b.zip
add more warning flags, correct syntax, add UNUSED macro, […]
- added -Wall -Wextra -pedantic to the compile options - various syntax has been corrected: - static is used before const - correct integer types are used in for loops - empty newlines are added - every command has an argc and argv but some don't use them so they are marked as potentially unused if compiled on a GNUC compatible compiler - mark JSONC variables as advanced so they do not show up as generic variables
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index f3c92c3..8c5b894 100644
--- a/src/net.h
+++ b/src/net.h
@@ -7,4 +7,4 @@ size_t WriteMemoryCallback(void*, size_t, size_t, void*);
struct MemoryStruct* downloadToRam(const char* URL);
struct json_object* fetchJSON(const char*);
-#endif \ No newline at end of file
+#endif