lib: enable strerror and strncpy checksrc warnings in subdirs

Closes #14834
This commit is contained in:
Daniel Stenberg 2024-09-09 13:49:53 +02:00
parent 63ebc48b69
commit 0d6c8b7534
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
6 changed files with 17 additions and 2 deletions

View File

@ -43,6 +43,10 @@ path = [
# checksrc control files
"docs/examples/.checksrc",
"lib/.checksrc",
"lib/vauth/.checksrc",
"lib/vquic/.checksrc",
"lib/vssh/.checksrc",
"lib/vtls/.checksrc",
"src/.checksrc",
"tests/libtest/.checksrc",
]

View File

@ -25,11 +25,14 @@ AUTOMAKE_OPTIONS = foreign nostdinc
CMAKE_DIST = CMakeLists.txt curl_config.h.cmake
CHECKSRC_DIST = .checksrc vauth/.checksrc vquic/.checksrc vssh/.checksrc \
vtls/.checksrc
EXTRA_DIST = Makefile.mk config-win32.h config-win32ce.h config-plan9.h \
config-riscos.h config-mac.h curl_config.h.in config-dos.h libcurl.rc \
config-amigaos.h config-win32ce.h config-os400.h setup-os400.h \
$(CMAKE_DIST) setup-win32.h .checksrc Makefile.soname optiontable.pl \
libcurl.def
$(CMAKE_DIST) setup-win32.h Makefile.soname optiontable.pl libcurl.def \
$(CHECKSRC_DIST)
lib_LTLIBRARIES = libcurl.la

2
lib/vauth/.checksrc Normal file
View File

@ -0,0 +1,2 @@
enable STRERROR
enable STRNCPY

2
lib/vquic/.checksrc Normal file
View File

@ -0,0 +1,2 @@
enable STRERROR
enable STRNCPY

2
lib/vssh/.checksrc Normal file
View File

@ -0,0 +1,2 @@
enable STRERROR
enable STRNCPY

2
lib/vtls/.checksrc Normal file
View File

@ -0,0 +1,2 @@
enable STRERROR
enable STRNCPY