summaryrefslogtreecommitdiff
path: root/lib9p
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-27 23:16:58 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-27 23:21:44 -0600
commit89761191a98f7dce4d1049b9a84c3d645378222a (patch)
tree4a60eab88b515af663171aa9bee343f46ca98115 /lib9p
parent7f3507b606b0f5c0c44cc59eb27e87575cf87701 (diff)
Lint that include-guards match the filename
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_ */