-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9a0bb59
commit 1169968
Showing
4 changed files
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,7 +88,7 @@ help(char * exename) | |
exit(EXIT_SUCCESS); | ||
} | ||
|
||
void | ||
static void | ||
die(char * str) | ||
{ | ||
printf("%s\n", str); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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++){ | ||
|
@@ -48,7 +50,7 @@ print_only(FILE *f) | |
} | ||
} | ||
|
||
void | ||
static void | ||
enhance(FILE *f, int full_upper) | ||
{ | ||
char buffer[BUFFER_SIZE]; | ||
|
@@ -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" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,7 +55,7 @@ help(char * exename) | |
exit(EXIT_SUCCESS); | ||
} | ||
|
||
void | ||
static void | ||
die(char * str) | ||
{ | ||
printf("%d\n", str); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters