namespace and extern C don't need semicolon

pull/12169/head
Heath Petersen 2019-12-26 16:08:22 -06:00
parent 06734e0f57
commit a6b0909794
5 changed files with 5 additions and 5 deletions

View File

@ -106,7 +106,7 @@ const PinMap *can_rd_pinmap(void);
const PinMap *can_td_pinmap(void);
#ifdef __cplusplus
};
}
#endif
#endif // MBED_CAN_API_H

View File

@ -68,7 +68,7 @@ struct CAN_Message {
typedef struct CAN_Message CAN_Message;
#ifdef __cplusplus
};
}
#endif
#endif

View File

@ -224,7 +224,7 @@ uint32_t hal_crc_get_result(void);
/**@}*/
#ifdef __cplusplus
};
}
#endif
#endif // DEVICE_CRC

View File

@ -49,7 +49,7 @@ template<>
struct is_unsigned<unsigned long long> {
static const bool value = true;
};
};
}
/** \addtogroup platform-public-api */
/** @{*/

View File

@ -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