1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:54:58 +00:00

Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
parent 0376c127f6
commit 086969277e
1665 changed files with 8479 additions and 8479 deletions

View file

@ -12,7 +12,7 @@
#include <stdlib.h>
#include <string.h>
const char* const g_usage = R"(Usage:
char const* const g_usage = R"(Usage:
seq [-h|--help]
seq LAST
seq FIRST LAST
@ -25,7 +25,7 @@ static void print_usage(FILE* stream)
return;
}
static double get_double(const char* name, const char* d_string, int* number_of_decimals)
static double get_double(char const* name, char const* d_string, int* number_of_decimals)
{
char* end;
double d = strtod(d_string, &end);
@ -34,7 +34,7 @@ static double get_double(const char* name, const char* d_string, int* number_of_
print_usage(stderr);
exit(1);
}
if (const char* dot = strchr(d_string, '.'))
if (char const* dot = strchr(d_string, '.'))
*number_of_decimals = strlen(dot + 1);
else
*number_of_decimals = 0;