Default to fcntl locking for AIX, Cygwin, and Linux. Without it
[mmh] / uip / ap.c
index 85683f9..b0934fb 100644 (file)
--- a/uip/ap.c
+++ b/uip/ap.c
@@ -2,8 +2,6 @@
 /*
  * ap.c -- parse addresses 822-style
  *
- * $Id$
- *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
  * complete copyright information.
@@ -44,11 +42,6 @@ static struct format *fmt;
 static int dat[5];
 
 /*
- * prototypes
- */
-int sc_width (void);  /* from termsbr.c */
-
-/*
  * static prototypes
  */
 static int process (char *, int, int);
@@ -151,7 +144,8 @@ main (int argc, char **argv)
     for (addrp = 0; addrs[addrp]; addrp++)
        status += process (addrs[addrp], width, normalize);
 
-    return done (status);
+    done (status);
+    return 1;
 }
 
 struct pqpair {