5c05ef5101
This is related to findings in #17997 and changes network related header files to have include files outside of extern "C" { } block. Declarations that use C linkage should be placed within extern "C" so the language linkage is correct when the header is included by a C++ compiler. Similarly #include directives should be outside the extern "C" to ensure the language-specific default linkage is applied to any declarations provided by the included header. See: https://en.cppreference.com/w/cpp/language/language_linkage Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
15 lines
373 B
C
15 lines
373 B
C
/**
|
|
* Copyright (c) 2018 Linaro Limited.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef ZEPHYR_DRIVERS_WIFI_SIMPLELINK_SIMPLELINK_LOG_H_
|
|
#define ZEPHYR_DRIVERS_WIFI_SIMPLELINK_SIMPLELINK_LOG_H_
|
|
|
|
#define LOG_MODULE_NAME wifi_simplelink
|
|
#define LOG_LEVEL CONFIG_WIFI_LOG_LEVEL
|
|
|
|
#include <logging/log.h>
|
|
|
|
#endif /* ZEPHYR_DRIVERS_WIFI_SIMPLELINK_SIMPLELINK_LOG_H_ */
|