summaryrefslogtreecommitdiff
path: root/cmd/srv9p
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 /cmd/srv9p
parent7f3507b606b0f5c0c44cc59eb27e87575cf87701 (diff)
Lint that include-guards match the filename
Diffstat (limited to 'cmd/srv9p')
-rw-r--r--cmd/srv9p/config/config.h2
-rw-r--r--cmd/srv9p/gnet.h6
-rw-r--r--cmd/srv9p/static9p.h6
3 files changed, 7 insertions, 7 deletions
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 <lukeshu@lukeshu.com>
* 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 <stdint.h> /* 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 <lib9p/srv.h>
@@ -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_ */