X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fgetans.c;h=7254d6bd54efc322425e208b08a60570df6f47bc;hb=e1b2a81e2b5f77605973a47734a895cd3e83b73c;hp=919fd32d66537a9b70cd0c7c7548792b503edb77;hpb=714b5c530ece27ea2835a313013f5b770163403c;p=mmh diff --git a/sbr/getans.c b/sbr/getans.c index 919fd32..7254d6b 100644 --- a/sbr/getans.c +++ b/sbr/getans.c @@ -17,7 +17,7 @@ static jmp_buf sigenv; /* ** static prototypes */ -static RETSIGTYPE intrser(int); +static void intrser(int); char ** @@ -52,21 +52,21 @@ getans(char *prompt, struct swit *ansp) } cpp = brkstring(ansbuf, " ", NULL); switch (smatch(*cpp, ansp)) { - case AMBIGSW: - ambigsw(*cpp, ansp); - continue; - case UNKWNSW: - printf(" -%s unknown. Hit for help.\n", *cpp); - continue; - default: - SIGNAL(SIGINT, istat); - return cpp; + case AMBIGSW: + ambigsw(*cpp, ansp); + continue; + case UNKWNSW: + printf(" -%s unknown. Hit for help.\n", *cpp); + continue; + default: + SIGNAL(SIGINT, istat); + return cpp; } } } -static RETSIGTYPE +static void intrser(int i) { /*