summaryrefslogtreecommitdiff
path: root/lib9p
diff options
context:
space:
mode:
Diffstat (limited to 'lib9p')
-rw-r--r--lib9p/include/lib9p/9p.h2
-rw-r--r--lib9p/map.h5
2 files changed, 6 insertions, 1 deletions
diff --git a/lib9p/include/lib9p/9p.h b/lib9p/include/lib9p/9p.h
index 231556a..9a91c41 100644
--- a/lib9p/include/lib9p/9p.h
+++ b/lib9p/include/lib9p/9p.h
@@ -165,4 +165,4 @@ uint32_t lib9p_unmarshal_stat(struct lib9p_ctx *ctx, uint8_t *net_bytes,
uint32_t lib9p_marshal_stat(struct lib9p_ctx *ctx, uint32_t max_net_size, struct lib9p_stat *obj,
uint8_t *ret_bytes);
-#endif _LIB9P_9P_H_
+#endif /* _LIB9P_9P_H_ */
diff --git a/lib9p/map.h b/lib9p/map.h
index 458fe74..9d4d4af 100644
--- a/lib9p/map.h
+++ b/lib9p/map.h
@@ -109,3 +109,8 @@ static bool MAP_METHOD(NAME,del)(struct NAME *m, KEY_T k) {
#undef KEY_T
#undef VAL_T
#undef CAP
+
+/* Keep the linter happy. */
+#ifndef _LIB9P_MAP_H_
+#define _LIB9P_MAP_H_
+#endif /* _LIB9P_MAP_H_ */