From 2ecd7fbbc8456bd5a3d4f6b188c626bc44c60eb2 Mon Sep 17 00:00:00 2001 From: ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ Date: Thu, 19 Sep 2019 22:52:39 +0800 Subject: Add header guard --- post.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/post.h b/post.h index acfa3f3..05af269 100644 --- a/post.h +++ b/post.h @@ -1,3 +1,6 @@ +#ifndef RTCLIENT_POST_H +#define RTCLIENT_POST_H + #include "request.h" inline void post(const char *path, const char *pairs[], size_t n) @@ -36,3 +39,5 @@ inline void post(const char *path, const char *pairs[], size_t n) curl_formfree(post); post = NULL; } + +#endif // RTCLIENT_POST_H -- cgit v1.3