diff options
Diffstat (limited to 'nor-utils')
| -rw-r--r-- | nor-utils/rfddump.c | 8 | ||||
| -rw-r--r-- | nor-utils/rfdformat.c | 6 | 
2 files changed, 7 insertions, 7 deletions
| diff --git a/nor-utils/rfddump.c b/nor-utils/rfddump.c index 5141ea3..4ad2f91 100644 --- a/nor-utils/rfddump.c +++ b/nor-utils/rfddump.c @@ -55,7 +55,7 @@ struct rfd {  	int verbose;  }; -void display_help(int status) +static void display_help(int status)  {  	printf("Usage: %s [OPTIONS] MTD-device filename\n"  			"Dumps the contents of a resident flash disk\n" @@ -68,7 +68,7 @@ void display_help(int status)  	exit(status);  } -void display_version(void) +static void display_version(void)  {  	common_print_version();  	printf("This is free software; see the source for copying conditions.  There is NO\n" @@ -76,7 +76,7 @@ void display_version(void)  	exit(0);  } -void process_options(int argc, char *argv[], struct rfd *rfd) +static void process_options(int argc, char *argv[], struct rfd *rfd)  {  	int error = 0; @@ -125,7 +125,7 @@ void process_options(int argc, char *argv[], struct rfd *rfd)  	rfd->out_filename = argv[optind + 1];  } -int build_block_map(struct rfd *rfd, int fd, int block) +static int build_block_map(struct rfd *rfd, int fd, int block)  {  	int  i;  	int sectors; diff --git a/nor-utils/rfdformat.c b/nor-utils/rfdformat.c index 1f01a85..0a3d9fb 100644 --- a/nor-utils/rfdformat.c +++ b/nor-utils/rfdformat.c @@ -30,7 +30,7 @@  #include "common.h" -void display_help(int status) +static void display_help(int status)  {  	printf("Usage: %s [OPTIONS] MTD-device\n"  			"Formats NOR flash for resident flash disk\n" @@ -41,7 +41,7 @@ void display_help(int status)  	exit(status);  } -void display_version(void) +static void display_version(void)  {  	common_print_version();  	printf("This is free software; see the source for copying conditions.  There is NO\n" @@ -49,7 +49,7 @@ void display_version(void)  	exit(0);  } -void process_options(int argc, char *argv[], const char **mtd_filename) +static void process_options(int argc, char *argv[], const char **mtd_filename)  {  	int error = 0; | 
