From 5f3c8af40d85f8112fa146a66adbc31a6a41ba2f Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Thu, 15 Mar 2007 15:27:08 +0000 Subject: minios: Fix an extern declaration and add an extra 'const' to definition of a constant set of constant error strings. Issues identified by Armand Puccetti. Signed-off-by: Keir Fraser --- extras/mini-os/gnttab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extras/mini-os/gnttab.c') diff --git a/extras/mini-os/gnttab.c b/extras/mini-os/gnttab.c index 4d75897a98..b22f51ceae 100644 --- a/extras/mini-os/gnttab.c +++ b/extras/mini-os/gnttab.c @@ -135,7 +135,7 @@ gnttab_alloc_and_grant(void **map) return gref; } -static const char *gnttabop_error_msgs[] = GNTTABOP_error_msgs; +static const char * const gnttabop_error_msgs[] = GNTTABOP_error_msgs; const char * gnttabop_error(int16_t status) -- cgit v1.2.3