projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added list of hand picked types initially genereted by...
[mmh]
/
uip
/
prompter.c
diff --git
a/uip/prompter.c
b/uip/prompter.c
index
872d742
..
ecfd05f
100644
(file)
--- a/
uip/prompter.c
+++ b/
uip/prompter.c
@@
-12,7
+12,7
@@
#include <h/signals.h>
#include <errno.h>
#include <signal.h>
#include <h/signals.h>
#include <errno.h>
#include <signal.h>
-#include <setjmp.h>
+#include <h/m_setjmp.h>
#include <termios.h>
#include <termios.h>
@@
-353,7
+353,7
@@
getln (char *buffer, int n)
cp = buffer;
*cp = 0;
cp = buffer;
*cp = 0;
- switch (setjmp (sigenv)) {
+ switch (m_setjmp (sigenv)) {
case OK:
wtuser = 1;
break;
case OK:
wtuser = 1;
break;
@@
-396,9
+396,7
@@
getln (char *buffer, int n)
static void
intrser (int i)
{
static void
intrser (int i)
{
-#ifndef RELIABLE_SIGNALS
- SIGNAL (SIGINT, intrser);
-#endif
+ NMH_UNUSED (i);
if (wtuser)
longjmp (sigenv, NOTOK);
if (wtuser)
longjmp (sigenv, NOTOK);