Merge pull request #12705 from hugueskamba/hk_remove_armc5_support_mbed-client

mbed-client-cli: Remove support for ARM Compiler 5
pull/12728/head
Martin Kojtal 2020-03-31 08:34:33 +02:00 committed by GitHub
commit 5d07fa8ada
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ uint8_t cmd_history_size(uint8_t max);
* This function should be used when user want to print something to the console
* \param fmt console print function (like printf)
*/
#if defined(__GNUC__) || defined(__CC_ARM)
#if defined(__GNUC__)
void cmd_printf(const char *fmt, ...) __attribute__((__format__(__printf__, 1, 2)));
#else
void cmd_printf(const char *fmt, ...);
@ -138,7 +138,7 @@ void cmd_printf(const char *fmt, ...);
* \param fmt The format string is a character string, beginning and ending in its initial shift state, if any. The format string is composed of zero or more directives.
* \param ap list of parameters needed by format string. This must correspond properly with the conversion specifier.
*/
#if defined(__GNUC__) || defined(__CC_ARM)
#if defined(__GNUC__)
void cmd_vprintf(const char *fmt, va_list ap) __attribute__((__format__(__printf__, 1, 0)));
#else
void cmd_vprintf(const char *fmt, va_list ap);