Skip to content

Commit 9b57597

Browse files
committed
CMakeLists.txt rename local vars to begin with _
1 parent 286559e commit 9b57597

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

CMakeLists.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -367,13 +367,13 @@ set(COMMON_LINK_OPTIONS ${LIB_FUZZING_ENGINE_FLAG})
367367
set(FUZZ_DEPS curl_external ${CURL_DEPS} ${LIB_FUZZING_ENGINE_DEP})
368368

369369
# Helper macro to define a fuzzer target
370-
macro(curl_add_fuzzer name proto)
371-
add_executable(${name} ${COMMON_SOURCES})
372-
target_compile_options(${name} PRIVATE ${COMMON_FLAGS} -DFUZZ_PROTOCOLS_${proto})
373-
target_include_directories(${name} PRIVATE ${CURL_INCLUDE_DIRS})
374-
target_link_libraries(${name} PRIVATE ${COMMON_LINK_LIBS})
375-
target_link_options(${name} PRIVATE ${COMMON_LINK_OPTIONS})
376-
add_dependencies(${name} ${FUZZ_DEPS})
370+
macro(curl_add_fuzzer _name _proto)
371+
add_executable(${_name} ${COMMON_SOURCES})
372+
target_compile_options(${_name} PRIVATE ${COMMON_FLAGS} -DFUZZ_PROTOCOLS_${_proto})
373+
target_include_directories(${_name} PRIVATE ${CURL_INCLUDE_DIRS})
374+
target_link_libraries(${_name} PRIVATE ${COMMON_LINK_LIBS})
375+
target_link_options(${_name} PRIVATE ${COMMON_LINK_OPTIONS})
376+
add_dependencies(${_name} ${FUZZ_DEPS})
377377
endmacro()
378378

379379
# Main fuzzer and protocol-specific fuzzers

0 commit comments

Comments
 (0)