fix formatting

This commit is contained in:
Liam Waldron 2023-05-08 14:10:52 -04:00
parent 128c6f2cb4
commit 86a6b81f3a

View File

@ -31,7 +31,9 @@ struct emkfileData {
char prefix;
};
int checkForRoot() {
int
checkForRoot()
{
printf(COL_BLUE "INF" COL_RESET " | checking for root access...\n");
if (geteuid() != 0) {
printf(COL_BLUE "INF" COL_RESET " | running emk without root\n");
@ -40,7 +42,9 @@ int checkForRoot() {
}
}
char checkForFiles() {
char
checkForFiles()
{
char cwd[PATH_MAX];
FILE *emkfile, *emkconfig;
@ -62,7 +66,9 @@ char checkForFiles() {
}
}
char readEmkFile() {
char
readEmkFile()
{
FILE *emkfile;
char filename[100], contents;
@ -77,7 +83,9 @@ char readEmkFile() {
fclose(emkfile);
}
char includeConfig() {
char
includeConfig()
{
char cwd[PATH_MAX];
FILE *emkconfig, *emkfile, *emkfile_new;
char filename[100], contents;
@ -112,7 +120,9 @@ char includeConfig() {
fclose(emkfile_new);
}
int main() {
int
main()
{
checkForFiles();
/* readEmkFile(); */
checkForRoot();