commit fcadb42ac06e502ec8a887901799a2d1ee18d2f2
parent 8de30a1896fee036a9794c54ffc1d98eb1345faf
Author: Mario Rosell R. Martinez <mario@mariorosell.es>
Date: Fri, 27 Mar 2026 16:33:40 +0100
tidy: Remove clang-tidy
Diffstat:
5 files changed, 2 insertions(+), 35 deletions(-)
diff --git a/.clang-tidy b/.clang-tidy
@@ -1,28 +0,0 @@
-#
-# .clang-tidy -- autofix bad stuff
-#
-
-Checks: >
- clang-analyzer-*,
- bugprone-*,
- performance-*,
- readability-*,
- misc-*,
- -modernize-*,
- -cppcoreguidelines-*
-
-WarningsAsErrors: "clang-analyzer-*"
-
-HeaderFilterRegex: ".*\\.h$"
-
-ExtraArgs:
- - -std=gnu99
- - -Iinclude
- - -DNDEBUG
- - -ffreestanding
- - -nostdinc
-
-CheckOptions:
- - key: readability-identifier-naming.IgnoreMainLikeFunctions
- value: true
-
diff --git a/Makefile b/Makefile
@@ -32,7 +32,6 @@ PREFIX ?= /usr/local
BINDIR ?= ${PREFIX}/bin
MANDIR ?= ${PREFIX}/man/man8
MAN := s-httpd.8
-BEAR := bear
#*** build ***#
@@ -65,8 +64,5 @@ uninstall:
clean:
rm -f ${OBJS} ${DEPS} ${PROG}
-db:
- ${BEAR} -- ${MAKE} all
-
.PHONY: all clean install uninstall db
diff --git a/cleanup.sh b/cleanup.sh
@@ -17,6 +17,5 @@ fi
# vvv
for f in *.c; do
clang-format -i $f
- clang-tidy -fix-errors -fix $f
done
diff --git a/s-httpd.8 b/s-httpd.8
@@ -0,0 +1 @@
+.SH TODO
diff --git a/s-httpd.c b/s-httpd.c
@@ -1,5 +1,4 @@
-int
-main(int argc, char** argv)
+int main(int argc, char** argv)
{
(void)argc;
(void)argv;