Coding style enforcement

This was done by hand, so I might have missed things. If anyone knows of
a good C style enforcement tool, let me know.
This commit is contained in:
Drew DeVault 2015-08-18 07:19:20 -04:00
parent af1b3d9755
commit 2139001c9f
11 changed files with 119 additions and 136 deletions

View file

@ -15,7 +15,7 @@ static bool exists(const char *path) {
return access(path, R_OK) != -1;
}
static char* get_config_path() {
static char *get_config_path() {
char *name = "/.sway/config";
const char *home = getenv("HOME");