diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-16 21:55:42 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-16 21:55:42 -0600 |
commit | a1fb6a6103cc7d38d54270bcdb9779982d329c9e (patch) | |
tree | bd4084c026bcd5954b090ffb6aa4b27aaeaf606a | |
parent | 3cd39827ec2d2aa8d69762de8fbf72322ca85038 (diff) |
Be stricter with filenames
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | cmd/sbc_harness/main.c | 2 | ||||
-rw-r--r-- | cmd/sbc_harness/usb_keyboard.c | 2 | ||||
-rw-r--r-- | cmd/sbc_harness/usb_keyboard.h | 2 | ||||
-rw-r--r-- | cmd/srv9p/gnet.c | 2 | ||||
-rw-r--r-- | cmd/srv9p/gnet.h | 2 | ||||
-rwxr-xr-x | cmd/srv9p/static.h.gen | 2 |
7 files changed, 7 insertions, 8 deletions
@@ -69,8 +69,7 @@ lint: -e 's,^lib9p/idl/,,' \ -e 's/\.wip$$//'); \ filename_alt2=$$(echo "$$filename_alt1" | sed \ - -e 's,^sbc_harness/,,' \ - -e 's,^srv9p/,,'); \ + -e 's,^sbc_harness/hw/,hw/,'); \ [ "$$dscname" == "$$filename" ] || [ "$$dscname" == "$$filename_alt1" ] || [ "$$dscname" == "$$filename_alt2" ] || \ { echo "$$filename self-identifies as $$dscname"; r=1; continue; }; \ done; exit $$r diff --git a/cmd/sbc_harness/main.c b/cmd/sbc_harness/main.c index b120d46..9564665 100644 --- a/cmd/sbc_harness/main.c +++ b/cmd/sbc_harness/main.c @@ -1,4 +1,4 @@ -/* main.c - Main entry point and event loop for sbc-harness +/* sbc_harness/main.c - Main entry point and event loop for sbc-harness * * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> * SPDX-Licence-Identifier: AGPL-3.0-or-later diff --git a/cmd/sbc_harness/usb_keyboard.c b/cmd/sbc_harness/usb_keyboard.c index 4e20330..b98345c 100644 --- a/cmd/sbc_harness/usb_keyboard.c +++ b/cmd/sbc_harness/usb_keyboard.c @@ -1,4 +1,4 @@ -/* usb_keyboard.c - Implementation of a USB keyboard device +/* sbc_harness/usb_keyboard.c - Implementation of a USB keyboard device * * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> * SPDX-Licence-Identifier: AGPL-3.0-or-later diff --git a/cmd/sbc_harness/usb_keyboard.h b/cmd/sbc_harness/usb_keyboard.h index d946ff6..2227220 100644 --- a/cmd/sbc_harness/usb_keyboard.h +++ b/cmd/sbc_harness/usb_keyboard.h @@ -1,4 +1,4 @@ -/* usb_keyboard.h - Implementation of a USB keyboard device +/* sbc_harness/usb_keyboard.h - Implementation of a USB keyboard device * * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> * SPDX-Licence-Identifier: AGPL-3.0-or-later diff --git a/cmd/srv9p/gnet.c b/cmd/srv9p/gnet.c index 2bed355..92e74c7 100644 --- a/cmd/srv9p/gnet.c +++ b/cmd/srv9p/gnet.c @@ -1,4 +1,4 @@ -/* gnet.c - libnet implementation for libcr + GNU libc +/* srv9p/gnet.c - libnet implementation for libcr + GNU libc * * 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 341ccd2..d43874f 100644 --- a/cmd/srv9p/gnet.h +++ b/cmd/srv9p/gnet.h @@ -1,4 +1,4 @@ -/* gnet.h - libnet implementation for libcr + GNU libc +/* srv9p/gnet.h - libnet implementation for libcr + GNU libc * * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> * SPDX-Licence-Identifier: AGPL-3.0-or-later diff --git a/cmd/srv9p/static.h.gen b/cmd/srv9p/static.h.gen index bb27e55..a048bd6 100755 --- a/cmd/srv9p/static.h.gen +++ b/cmd/srv9p/static.h.gen @@ -1,5 +1,5 @@ #!/bin/sh -# static.h.gen - Generate C definitions for GNU `ld -r -b binary` files +# srv9p/static.h.gen - Generate C definitions for GNU `ld -r -b binary` files # # Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> # SPDX-Licence-Identifier: AGPL-3.0-or-later |