Fixing style according to rules defined in vera++ scripts.
This commit is contained in:
@@ -52,7 +52,7 @@ libc_fatal (const char *msg,
|
||||
libc_fatal ("Code is unreachable", __FILE__, __FUNCTION__, __LINE__); \
|
||||
} while (0)
|
||||
#else /* !LIBC_NDEBUG */
|
||||
# define LIBC_ASSERT(x) do { if (false) { (void)(x); } } while (0)
|
||||
# define LIBC_ASSERT(x) do { if (false) { (void) (x); } } while (0)
|
||||
# define LIBC_UNREACHABLE() \
|
||||
do \
|
||||
{ \
|
||||
|
||||
@@ -36,8 +36,8 @@ libc_fatal (const char *msg, /**< fatal error description */
|
||||
&& file_name != NULL
|
||||
&& function_name != NULL)
|
||||
{
|
||||
printf("Assertion '%s' failed at %s (%s:%u).\n",
|
||||
msg, function_name, file_name, line_number);
|
||||
printf ("Assertion '%s' failed at %s (%s:%u).\n",
|
||||
msg, function_name, file_name, line_number);
|
||||
}
|
||||
|
||||
exit (LIBC_FATAL_ERROR_EXIT_CODE);
|
||||
|
||||
@@ -123,7 +123,7 @@ putchar (int c)
|
||||
* Output specified string
|
||||
*/
|
||||
int
|
||||
puts(const char *s) /**< string to print */
|
||||
puts (const char *s) /**< string to print */
|
||||
{
|
||||
while (*s)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user