diff --git a/com/ncom.c b/com/ncom.c index 66c3f10..207d67b 100644 --- a/com/ncom.c +++ b/com/ncom.c @@ -88,7 +88,7 @@ help(char * exename) exit(EXIT_SUCCESS); } -void +static void die(char * str) { printf("%s\n", str); diff --git a/enhance/nhan.c b/enhance/nhan.c index 283c137..16e0ed6 100644 --- a/enhance/nhan.c +++ b/enhance/nhan.c @@ -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\n\n" diff --git a/inc/nin.c b/inc/nin.c index 1a1030e..44b4c0a 100644 --- a/inc/nin.c +++ b/inc/nin.c @@ -55,7 +55,7 @@ help(char * exename) exit(EXIT_SUCCESS); } -void +static void die(char * str) { printf("%d\n", str); diff --git a/leet/nleet.c b/leet/nleet.c index 59697e6..6ec0212 100644 --- a/leet/nleet.c +++ b/leet/nleet.c @@ -29,7 +29,7 @@ save_stdin(FILE *f) return f2; } -void +static void print_only(FILE *f) { char buffer[BUFFER_SIZE]; @@ -38,7 +38,7 @@ print_only(FILE *f) } } -void +static void leetify(FILE *f, int full_upper) { char buffer[BUFFER_SIZE];