summaryrefslogtreecommitdiff
path: root/lib/utils/printf.c
diff options
context:
space:
mode:
authorDavid Lechner <david@pybricks.com>2020-06-16 09:34:51 -0500
committerDamien George <damien@micropython.org>2020-06-19 22:07:32 +1000
commit77ed6f69ac35c1663a5633a8ee1d8a2446542204 (patch)
tree1252c3b606e3cb2cbe77c05ea8f20e700488fcae /lib/utils/printf.c
parent026fda605e03113d6e753290d65fed774418bc53 (diff)
tools/uncrustify: Enable more opts to remove space between func and '('.
With only `sp_func_proto_paren = remove` set there are some cases where uncrustify misses removing a space between the function name and the opening '('. This sets all of the related options to `force` as well.
Diffstat (limited to 'lib/utils/printf.c')
-rw-r--r--lib/utils/printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/printf.c b/lib/utils/printf.c
index 6266ab66d..e8db2b999 100644
--- a/lib/utils/printf.c
+++ b/lib/utils/printf.c
@@ -104,7 +104,7 @@ STATIC void strn_print_strn(void *data, const char *str, size_t len) {
// when linkings against it statically.
// GCC 9 gives a warning about missing attributes so it's excluded until
// uClibc+GCC9 support is needed.
-int __GI_vsnprintf(char *str, size_t size, const char *fmt, va_list ap) __attribute__((weak, alias ("vsnprintf")));
+int __GI_vsnprintf(char *str, size_t size, const char *fmt, va_list ap) __attribute__((weak, alias("vsnprintf")));
#endif
int vsnprintf(char *str, size_t size, const char *fmt, va_list ap) {