Use clang-format.
This commit is contained in:
parent
d26b6b0b4a
commit
b36749db03
1 changed files with 7 additions and 11 deletions
18
exporter.c
18
exporter.c
|
@ -5,16 +5,12 @@
|
||||||
#define HTTP_PORT 9402
|
#define HTTP_PORT 9402
|
||||||
#define INTERVAL 10
|
#define INTERVAL 10
|
||||||
|
|
||||||
int
|
int main(int argc, char **argv) {
|
||||||
main(int argc, char **argv)
|
if (argc != 2) {
|
||||||
{
|
fprintf(stdout, "Invalid number of arguments. Usage: %s [dbname]\n",
|
||||||
if (argc != 2)
|
argv[0]);
|
||||||
{
|
exit(EXIT_FAILURE);
|
||||||
fprintf(stdout,
|
}
|
||||||
"Invalid number of arguments. Usage: %s [dbname]\n",
|
|
||||||
argv[0]);
|
|
||||||
exit(EXIT_FAILURE);
|
|
||||||
}
|
|
||||||
|
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue