Skip to content

Commit

Permalink
Fixed formatting across all files
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDim02 committed Jul 26, 2021
1 parent 9a0bb59 commit 1169968
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion com/ncom.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ help(char * exename)
exit(EXIT_SUCCESS);
}

void
static void
die(char * str)
{
printf("%s\n", str);
Expand Down
12 changes: 8 additions & 4 deletions enhance/nhan.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ save_stdin(FILE *f)
return f2;
}

void cap(char string[]){
void
cap(char string[])
{
int i;
int x = strlen(string);
for (i=0; i<x-1; i++){
Expand All @@ -48,7 +50,7 @@ print_only(FILE *f)
}
}

void
static void
enhance(FILE *f, int full_upper)
{
char buffer[BUFFER_SIZE];
Expand All @@ -64,13 +66,15 @@ enhance(FILE *f, int full_upper)
}
}

void die(char * str)
static void
die(char * str)
{
printf("%s\n", str);
exit(EXIT_SUCCESS);
}

void help(char * exename)
static void
help(char * exename)
{
printf( "Nhance - Narthex enhancer %s\n"
"By Michael C. Dim. <[email protected]>\n\n"
Expand Down
2 changes: 1 addition & 1 deletion inc/nin.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ help(char * exename)
exit(EXIT_SUCCESS);
}

void
static void
die(char * str)
{
printf("%d\n", str);
Expand Down
4 changes: 2 additions & 2 deletions leet/nleet.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ save_stdin(FILE *f)
return f2;
}

void
static void
print_only(FILE *f)
{
char buffer[BUFFER_SIZE];
Expand All @@ -38,7 +38,7 @@ print_only(FILE *f)
}
}

void
static void
leetify(FILE *f, int full_upper)
{
char buffer[BUFFER_SIZE];
Expand Down

0 comments on commit 1169968

Please sign in to comment.