Fixing style according to rules defined in vera++ scripts.

This commit is contained in:
Ruben Ayrapetyan
2015-02-17 19:47:00 +03:00
parent 88353e93cf
commit f42faabe89
12 changed files with 185 additions and 173 deletions
+1 -1
View File
@@ -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 \
{ \
+2 -2
View File
@@ -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);
+1 -1
View File
@@ -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)
{