bugfix: __cpluscplus -> __cplusplus

This commit is contained in:
luwenpeng
2024-07-16 17:25:55 +08:00
parent 9bd91c3c63
commit b59b736e4d
18 changed files with 36 additions and 36 deletions

View File

@@ -1,7 +1,7 @@
#ifndef _UTILS_H
#define _UTILS_H
#ifdef __cpluscplus
#ifdef __cplusplus
extern "C"
{
#endif
@@ -60,7 +60,7 @@ int get_ip_by_device_name(const char *dev_name, char *ip_str);
int get_mac_by_device_name(const char *dev_name, char *mac_str);
int str_to_mac(const char *mac_str, u_char mac[]);
#ifdef __cpluscplus
#ifdef __cplusplus
}
#endif