--- ./bc/scan.l Wed Sep 13 14:25:47 2000 +++ ../bc-1.06/./bc/scan.l Mon Mar 24 15:51:31 2003 @@ -143,7 +143,7 @@ /* Definitions for readline access. */ extern FILE *rl_instream; -_PROTOTYPE(char *readline, (char *)); +_PROTOTYPE(char *readline, (const char *)); /* rl_input puts upto MAX characters into BUF with the number put in BUF placed in *RESULT. If the yy input file is the same as --- ./bc/load.c Wed Sep 13 14:22:38 2000 +++ ../bc-1.06/./bc/load.c Mon Mar 24 15:44:21 2003 @@ -156,7 +156,10 @@ long label_no; long vaf_name; /* variable, array or function number. */ long func; - program_counter save_adr; + /* Make save_adr static. Otherwise the whole address save stuff doesn't make + any sense at all and break e.g. on S390. + 09/05/01 Phil Knirsch */ + static program_counter save_adr; /* Initialize. */ str = code;