Automated style fixes in order to bring the code a little bit closer to compliance with MISRA C++ rules. No changes in logic.

This commit is contained in:
Pavel Kirienko
2014-03-25 03:04:36 +04:00
parent cce657e1fe
commit 0cc627016a
64 changed files with 777 additions and 283 deletions
+6 -6
View File
@@ -7,12 +7,12 @@
#if UAVCAN_DEBUG
#include <cstdio>
#include <cstdarg>
# include <cstdio>
# include <cstdarg>
#if __GNUC__
__attribute__ ((format (printf, 2, 3)))
#endif
# if __GNUC__
__attribute__ ((format(printf, 2, 3)))
# endif
static void UAVCAN_TRACE(const char* src, const char* fmt, ...)
{
va_list args;
@@ -25,6 +25,6 @@ static void UAVCAN_TRACE(const char* src, const char* fmt, ...)
#else
# define UAVCAN_TRACE(...) ((void)0)
# define UAVCAN_TRACE(...) ((void)0)
#endif