helge
2021-11-04 91731b656ab61760d9dd28dc441366cf1f6a256c
add extern C
2个文件已修改
14 ■■■■ 已修改文件
examples/common/scpi-def.h 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
examples/test-LwIP-netconn/scpi_server.h 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
examples/common/scpi-def.h
@@ -28,6 +28,9 @@
#ifndef __SCPI_DEF_H_
#define __SCPI_DEF_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "scpi/scpi.h"
@@ -53,5 +56,8 @@
scpi_result_t SCPI_SystemCommTcpipControlQ(scpi_t * context);
#ifdef __cplusplus
}
#endif
#endif /* __SCPI_DEF_H_ */
examples/test-LwIP-netconn/scpi_server.h
@@ -28,7 +28,9 @@
#ifndef _SCPI_SERVER_H_
#define _SCPI_SERVER_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
@@ -37,5 +39,7 @@
void SCPI_AddError(int16_t err);
void SCPI_RequestControl(void);
#ifdef __cplusplus
}
#endif
#endif /* _SCPI_SERVER_H_ */