From bc7bb3d12bc1f518964562c821edaa8b9984f964 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Date: Tue, 24 Feb 2015 12:14:38 +0100 Subject: sparse: fix declaration of fdt_strerror MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Cédric Le Goater Signed-off-by: Stewart Smith --- libfdt/fdt_strerror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libfdt/fdt_strerror.c') 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 ""; -- cgit v1.2.1