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 --- cmd/srv9p/config/config.h | 2 +- cmd/srv9p/gnet.h | 6 +++--- cmd/srv9p/static9p.h | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'cmd/srv9p') diff --git a/cmd/srv9p/config/config.h b/cmd/srv9p/config/config.h index fa6faeb..0f6c37e 100644 --- a/cmd/srv9p/config/config.h +++ b/cmd/srv9p/config/config.h @@ -1,4 +1,4 @@ -/* srv9p/config/config.h - Compile-time configuration for srv9p +/* config.h - Compile-time configuration for srv9p * * Copyright (C) 2024 Luke T. Shumaker * SPDX-Licence-Identifier: AGPL-3.0-or-later diff --git a/cmd/srv9p/gnet.h b/cmd/srv9p/gnet.h index 4380c1d..3e8a0f4 100644 --- a/cmd/srv9p/gnet.h +++ b/cmd/srv9p/gnet.h @@ -4,8 +4,8 @@ * SPDX-Licence-Identifier: AGPL-3.0-or-later */ -#ifndef _GNET_H_ -#define _GNET_H_ +#ifndef _SRV9P_GNET_H_ +#define _SRV9P_GNET_H_ #include /* for uint16_6 */ @@ -34,4 +34,4 @@ struct gnet_udp_conn { void gnet_udp_conn_init(struct gnet_udp_conn *self, uint16_t port); -#endif /* _GNET_H_ */ +#endif /* _SRV9P_GNET_H_ */ diff --git a/cmd/srv9p/static9p.h b/cmd/srv9p/static9p.h index e03a480..5ef6cb1 100644 --- a/cmd/srv9p/static9p.h +++ b/cmd/srv9p/static9p.h @@ -4,8 +4,8 @@ * SPDX-Licence-Identifier: AGPL-3.0-or-later */ -#ifndef _STATIC9P_H_ -#define _STATIC9P_H_ +#ifndef _SRV9P_STATIC9P_H_ +#define _SRV9P_STATIC9P_H_ #include @@ -44,4 +44,4 @@ struct static_file { extern struct lib9p_srv_file_vtable static_dir_vtable; extern struct lib9p_srv_file_vtable static_file_vtable; -#endif /* _STATIC9P_H_ */ +#endif /* _SRV9P_STATIC9P_H_ */ -- cgit v1.2.3-2-g168b