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 --- Makefile | 18 ++++++++++++++++-- cmd/sbc_harness/config/config.h | 2 +- cmd/sbc_harness/config/tusb_config.h | 2 +- cmd/sbc_harness/hw/rp2040_hwspi.h | 6 +++--- cmd/sbc_harness/usb_keyboard.h | 6 +++--- cmd/srv9p/config/config.h | 2 +- cmd/srv9p/gnet.h | 6 +++--- cmd/srv9p/static9p.h | 6 +++--- lib9p/include/lib9p/9p.h | 2 +- lib9p/map.h | 5 +++++ libcr/include/libcr/coroutine.h | 6 +++--- libcr_ipc/include/libcr_ipc/_linkedlist.h | 6 +++--- libcr_ipc/include/libcr_ipc/chan.h | 6 +++--- libcr_ipc/include/libcr_ipc/mutex.h | 6 +++--- libcr_ipc/include/libcr_ipc/rpc.h | 6 +++--- libcr_ipc/include/libcr_ipc/select.h | 6 +++--- libcr_ipc/include/libcr_ipc/sema.h | 6 +++--- libusb/include/libusb/usb_common.h | 6 +++--- 18 files changed, 61 insertions(+), 42 deletions(-) diff --git a/Makefile b/Makefile index 0b22e66..bd4f9cc 100644 --- a/Makefile +++ b/Makefile @@ -69,6 +69,9 @@ generate-clean: sources_all := $(foreach v,$(filter sources_%,$(.VARIABLES)),$($v)) # lint ############# + +get_dscname = sed -n '1,3{ /^\#!/d; /^