diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-07-17 17:23:39 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-07-19 15:49:39 +1000 |
commit | 9880e148c2ea2d7a6f24a025799e59ac1a18cf92 (patch) | |
tree | 778607574858ae293edd002264caa1c139dc5eb8 /external/pflash | |
parent | f2c87a3d2f6df0886124636239d9950ef0abcab0 (diff) | |
download | skiboot-9880e148c2ea2d7a6f24a025799e59ac1a18cf92.zip skiboot-9880e148c2ea2d7a6f24a025799e59ac1a18cf92.tar.gz skiboot-9880e148c2ea2d7a6f24a025799e59ac1a18cf92.tar.bz2 |
pflash: build with skiboot HOSTCFLAGS warnings
mostly missing prototypes and unused parameters.
Reviewed-by: Cyril Bur <cyril.bur@au1.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external/pflash')
-rw-r--r-- | external/pflash/pflash.c | 2 | ||||
-rw-r--r-- | external/pflash/progress.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/external/pflash/pflash.c b/external/pflash/pflash.c index 3d172d7..7e1d47f 100644 --- a/external/pflash/pflash.c +++ b/external/pflash/pflash.c @@ -595,7 +595,7 @@ static void print_help(const char *pname) printf("\t\tThis message.\n\n"); } -void exiting(void) +static void exiting(void) { if (need_relock) arch_flash_set_wrprotect(bl, 1); diff --git a/external/pflash/progress.c b/external/pflash/progress.c index 4012020..f4406a7 100644 --- a/external/pflash/progress.c +++ b/external/pflash/progress.c @@ -3,6 +3,7 @@ #include <string.h> #include <limits.h> #include <time.h> +#include "progress.h" static unsigned long progress_max; static unsigned int progress_pcent; |