diff options
author | Cédric Le Goater <clg@fr.ibm.com> | 2015-02-24 12:14:38 +0100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-02-26 18:33:07 +1100 |
commit | bc7bb3d12bc1f518964562c821edaa8b9984f964 (patch) | |
tree | 5dba376658371ed46a004e9b82fad45520987dd1 /libfdt/fdt_strerror.c | |
parent | b0ae8743ce09be387e19d76c986a1296c003a4c5 (diff) | |
download | blackbird-skiboot-bc7bb3d12bc1f518964562c821edaa8b9984f964.tar.gz blackbird-skiboot-bc7bb3d12bc1f518964562c821edaa8b9984f964.zip |
sparse: fix declaration of fdt_strerror
Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libfdt/fdt_strerror.c')
-rw-r--r-- | libfdt/fdt_strerror.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libfdt/fdt_strerror.c b/libfdt/fdt_strerror.c index 0538a8e5..de7c417c 100644 --- a/libfdt/fdt_strerror.c +++ b/libfdt/fdt_strerror.c @@ -79,7 +79,7 @@ static struct fdt_errtabent fdt_errtable[] = { }; #define FDT_ERRTABSIZE (sizeof(fdt_errtable) / sizeof(fdt_errtable[0])) -const char __attrconst *fdt_strerror(int errval) +const char * __attrconst fdt_strerror(int errval) { if (errval > 0) return "<valid offset/length>"; |