Skip to content

Commit 5d07fa8

Browse files
authored
Merge pull request #12705 from hugueskamba/hk_remove_armc5_support_mbed-client
mbed-client-cli: Remove support for ARM Compiler 5
2 parents fea7c1a + a79ae95 commit 5d07fa8

File tree

1 file changed

+2
-2
lines changed
  • features/frameworks/mbed-client-cli/mbed-client-cli

1 file changed

+2
-2
lines changed

features/frameworks/mbed-client-cli/mbed-client-cli/ns_cmdline.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ uint8_t cmd_history_size(uint8_t max);
128128
* This function should be used when user want to print something to the console
129129
* \param fmt console print function (like printf)
130130
*/
131-
#if defined(__GNUC__) || defined(__CC_ARM)
131+
#if defined(__GNUC__)
132132
void cmd_printf(const char *fmt, ...) __attribute__((__format__(__printf__, 1, 2)));
133133
#else
134134
void cmd_printf(const char *fmt, ...);
@@ -138,7 +138,7 @@ void cmd_printf(const char *fmt, ...);
138138
* \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.
139139
* \param ap list of parameters needed by format string. This must correspond properly with the conversion specifier.
140140
*/
141-
#if defined(__GNUC__) || defined(__CC_ARM)
141+
#if defined(__GNUC__)
142142
void cmd_vprintf(const char *fmt, va_list ap) __attribute__((__format__(__printf__, 1, 0)));
143143
#else
144144
void cmd_vprintf(const char *fmt, va_list ap);

0 commit comments

Comments
 (0)