src/tools/flash_opts.c: fix style issues

pull/925/head
Simon Derr 2020-04-13 11:55:39 +02:00
rodzic 42c5fd7e69
commit eb24304433
1 zmienionych plików z 6 dodań i 8 usunięć

Wyświetl plik

@ -11,16 +11,14 @@ static bool starts_with(const char * str, const char * prefix) {
return (0 == strncmp(str, prefix, n));
}
static int invalid_args(const char *expected)
{
fprintf(stderr, "*** Error: Expected args for this command: %s\n", expected);
return -1;
static int invalid_args(const char *expected) {
fprintf(stderr, "*** Error: Expected args for this command: %s\n", expected);
return -1;
}
static int bad_arg(const char *arg)
{
fprintf(stderr, "*** Error: Invalid value for %s\n", arg);
return -1;
static int bad_arg(const char *arg) {
fprintf(stderr, "*** Error: Invalid value for %s\n", arg);
return -1;
}
int flash_get_opts(struct flash_opts* o, int ac, char** av) {