Add clang-format configuration, clean up

This commit is contained in:
2021-10-30 02:53:18 +02:00
parent 94a77a10d8
commit 18d16c1edb
6 changed files with 33 additions and 5 deletions

View File

@@ -2,7 +2,8 @@
#include "../termo.h"
#include "taplib.h"
int main (int argc, char *argv[])
int
main (int argc, char *argv[])
{
termo_t *tk;
termo_key_t key;

View File

@@ -1,7 +1,8 @@
#include "../termo.h"
#include "taplib.h"
int main (int argc, char *argv[])
int
main (int argc, char *argv[])
{
termo_t *tk;
termo_key_t key;

View File

@@ -73,7 +73,7 @@ is_str (const char *got, const char *expect, char *name)
}
int
exit_status(void)
exit_status (void)
{
return g_exit_status;
}