projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove last rests of done in uip
[mmh]
/
sbr
/
getans.c
diff --git
a/sbr/getans.c
b/sbr/getans.c
index
919fd32
..
7254d6b
100644
(file)
--- a/
sbr/getans.c
+++ b/
sbr/getans.c
@@
-17,7
+17,7
@@
static jmp_buf sigenv;
/*
** static prototypes
*/
/*
** static prototypes
*/
-static RETSIGTYPE intrser(int);
+static void intrser(int);
char **
char **
@@
-52,21
+52,21
@@
getans(char *prompt, struct swit *ansp)
}
cpp = brkstring(ansbuf, " ", NULL);
switch (smatch(*cpp, ansp)) {
}
cpp = brkstring(ansbuf, " ", NULL);
switch (smatch(*cpp, ansp)) {
- case AMBIGSW:
- ambigsw(*cpp, ansp);
- continue;
- case UNKWNSW:
- printf(" -%s unknown. Hit <CR> for help.\n", *cpp);
- continue;
- default:
- SIGNAL(SIGINT, istat);
- return cpp;
+ case AMBIGSW:
+ ambigsw(*cpp, ansp);
+ continue;
+ case UNKWNSW:
+ printf(" -%s unknown. Hit <CR> for help.\n", *cpp);
+ continue;
+ default:
+ SIGNAL(SIGINT, istat);
+ return cpp;
}
}
}
}
}
}
-static RETSIGTYPE
+static void
intrser(int i)
{
/*
intrser(int i)
{
/*