]> git.ipfire.org Git - people/ms/libloc.git/blobdiff - src/loc/private.h
headers: Don't make private structures public
[people/ms/libloc.git] / src / loc / private.h
index abfa59db32e9216de557e094b710c8cc98047a86..19e0398e5cd16f9e26f46455b011a7704b98cd44 100644 (file)
@@ -17,6 +17,8 @@
 #ifndef LIBLOC_PRIVATE_H
 #define LIBLOC_PRIVATE_H
 
+#ifdef LIBLOC_PRIVATE
+
 #include <stdbool.h>
 #include <syslog.h>
 
@@ -55,3 +57,4 @@ void loc_log(struct loc_ctx *ctx,
        const char *format, ...) __attribute__((format(printf, 6, 7)));
 
 #endif
+#endif