From 6a9c60c7e7612ad06fce25e752ca1001cea0f332 Mon Sep 17 00:00:00 2001 From: Timothe Litt Date: Mon, 8 Jul 2013 07:22:29 -0400 Subject: [PATCH] Fix CR builds On platforms where the translation code default is dynamic, the default table pointer can't be const. Remove const from the table pointer. --- PDP11/pdp11_cr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PDP11/pdp11_cr.c b/PDP11/pdp11_cr.c index 5faea762..641f7c34 100644 --- a/PDP11/pdp11_cr.c +++ b/PDP11/pdp11_cr.c @@ -403,7 +403,7 @@ static const int *codeTbl = /* punch translation tabl #endif static struct trans { const char *const name; - const int *const table; + const int *table; } transcodes[] = { { "DEFAULT", o29_code, }, { "026", o26_dec_code, },