`ls`/file.h: run `clang-format`.

the "i need a pre-commit hook" curse strikes again.
master
Drake 3 years ago
parent 1567e63152
commit e8412ff491

@ -1,6 +1,6 @@
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
/*
BSD 3-Clause License
@ -61,7 +61,7 @@ static int concatFileToStdout(char *file) {
}
char *contents = malloc(2);
while (fgets(contents, 2, fp) != NULL) {
printf("%s", contents);
printf("%s", contents);
}
free(contents);
return 0;

@ -7,8 +7,8 @@
#include <unistd.h>
#include "ansi-colour.h"
#include "file.h"
#include "checks.h"
#include "file.h"
/*
BSD 3-Clause License

Loading…
Cancel
Save