diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | util.h | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -290,7 +290,6 @@ cppcheck: $(SRCS) $(HEADERS) --suppress=strtokCalled:conf.c --suppress=strtokCalled:qrap.c \ --suppress=localtimeCalled:pcap.c \ --suppress=unusedStructMember:pcap.c \ - --suppress=funcArgNamesDifferent:util.h \ --suppress=unusedStructMember:dhcp.c \ \ --suppress=unmatchedSuppression:conf.c \ @@ -300,6 +299,5 @@ cppcheck: $(SRCS) $(HEADERS) --suppress=unmatchedSuppression:tcp.c \ --suppress=unmatchedSuppression:udp.c \ --suppress=unmatchedSuppression:util.c \ - --suppress=unmatchedSuppression:util.h \ $(filter -D%,$(FLAGS) $(CFLAGS)) \ . @@ -217,6 +217,7 @@ struct ipv6_opt_hdr { */ } __attribute__((packed)); /* required for some archs */ +/* cppcheck-suppress funcArgNamesDifferent */ __attribute__ ((weak)) int ffsl(long int i) { return __builtin_ffsl(i); } void __openlog(const char *ident, int option, int facility); void passt_vsyslog(int pri, const char *format, va_list ap); |