From 89761191a98f7dce4d1049b9a84c3d645378222a Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sun, 27 Oct 2024 23:16:58 -0600 Subject: Lint that include-guards match the filename --- lib9p/include/lib9p/9p.h | 2 +- lib9p/map.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'lib9p') 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_ */ -- cgit v1.2.3-2-g168b