common/util.c: Format with clang-format
BRANCH=none
TEST=none
@@ -23,8 +23,8 @@ __stdlib_compat int strcasecmp(const char *s1, const char *s2)
static int find_base(int base, int *c, const char **nptr)
{
- if ((base == 0 || base == 16) && *c == '0'
- && (**nptr == 'x' || **nptr == 'X')) {
+ if ((base == 0 || base == 16) && *c == '0' &&
+ (**nptr == 'x' || **nptr == 'X')) {
*c = (*nptr)[1];
(*nptr) += 2;
base = 16;
@@ -131,7 +131,6 @@ int parse_bool(const char *s, int *dest)
return 0;
}
-
/* Constant-time memory comparison */
int safe_memcmp(const void *s1, const void *s2, size_t size)
{
@@ -319,8 +318,7 @@ int cond_went(cond_t *c, int val)
* *offset<0. If argc<shift+1, leaves size unchanged, returning error if
* *size<0.
*/
-int parse_offset_size(int argc, char **argv, int shift,
- int *offset, int *size)
+int parse_offset_size(int argc, char **argv, int shift, int *offset, int *size)
{
char *e;
int i;
