mirror of https://github.com/ARMmbed/mbed-os.git
namespace and extern C don't need semicolon
parent
06734e0f57
commit
a6b0909794
|
@ -106,7 +106,7 @@ const PinMap *can_rd_pinmap(void);
|
|||
const PinMap *can_td_pinmap(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // MBED_CAN_API_H
|
||||
|
|
|
@ -68,7 +68,7 @@ struct CAN_Message {
|
|||
typedef struct CAN_Message CAN_Message;
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -224,7 +224,7 @@ uint32_t hal_crc_get_result(void);
|
|||
/**@}*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // DEVICE_CRC
|
||||
|
|
|
@ -49,7 +49,7 @@ template<>
|
|||
struct is_unsigned<unsigned long long> {
|
||||
static const bool value = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
/** \addtogroup platform-public-api */
|
||||
/** @{*/
|
||||
|
|
|
@ -592,7 +592,7 @@ extern "C" {
|
|||
int mkdir(const char *name, mode_t n);
|
||||
#endif // !MBED_CONF_PLATFORM_STDIO_MINIMAL_CONSOLE_ONLY
|
||||
#if __cplusplus
|
||||
}; // extern "C"
|
||||
} // extern "C"
|
||||
|
||||
namespace mbed {
|
||||
#if !MBED_CONF_PLATFORM_STDIO_MINIMAL_CONSOLE_ONLY
|
||||
|
|
Loading…
Reference in New Issue