Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 564c1978 authored by Ken Chen's avatar Ken Chen
Browse files

Fix clang-tidy misc-definitions-in-headers warnings

The flag checks if function and variable definitions in header files can
lead to potential ODR violations when headers are included from multiple
translation units.

Make a small refactor to resolve potential ODR violations, though
variables currently declared in resolv_fuzzer_utils.h does not have a
problem because the file is included by a single translation unit.

Bug: 259199981
Test: (in tm-mainline-prod branch) cd packages/modules/DnsResolver && mm
Change-Id: I780e5bd54f93be623a6cc97bb1afbd7c3de3b48a
parent 83e8e930
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment