mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
lib: enable strerror and strncpy checksrc warnings in subdirs
Closes #14834
This commit is contained in:
parent
63ebc48b69
commit
0d6c8b7534
@ -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",
|
||||
]
|
||||
|
@ -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
2
lib/vauth/.checksrc
Normal file
@ -0,0 +1,2 @@
|
||||
enable STRERROR
|
||||
enable STRNCPY
|
2
lib/vquic/.checksrc
Normal file
2
lib/vquic/.checksrc
Normal file
@ -0,0 +1,2 @@
|
||||
enable STRERROR
|
||||
enable STRNCPY
|
2
lib/vssh/.checksrc
Normal file
2
lib/vssh/.checksrc
Normal file
@ -0,0 +1,2 @@
|
||||
enable STRERROR
|
||||
enable STRNCPY
|
2
lib/vtls/.checksrc
Normal file
2
lib/vtls/.checksrc
Normal file
@ -0,0 +1,2 @@
|
||||
enable STRERROR
|
||||
enable STRNCPY
|
Loading…
Reference in New Issue
Block a user