]> git.marmaro.de Git - mmh/blobdiff - uip/prompter.c
* uip/mhlistsbr.c, uip/mhlsbr.c, uip/picksbr.c: cast
[mmh] / uip / prompter.c
index bc194ffec3f508dc93c1cfc026176aeca54676ab..35f6860a4ac49536a06f085991d56daf24b09294 100644 (file)
@@ -64,7 +64,6 @@ static struct swit switches[] = {
     { NULL, 0 }
 };
 
     { NULL, 0 }
 };
 
-extern int errno;
 
 #ifdef HAVE_TERMIOS_H
 static struct termios tio;
 
 #ifdef HAVE_TERMIOS_H
 static struct termios tio;
@@ -401,7 +400,8 @@ no_body:
     unlink (tmpfil);
 
     context_save ();   /* save the context file */
     unlink (tmpfil);
 
     context_save ();   /* save the context file */
-    return done (0);
+    done (0);
+    return 1;
 }
 
 
 }