Removed unused local ncomps because gcc complained about it.
[mmh] / uip / picksbr.c
index 1e16795..85bc4bc 100644 (file)
@@ -2,8 +2,6 @@
 /*
  * picksbr.c -- routines to help pick along...
  *
- * $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.
 #include <h/picksbr.h>
 #include <h/utils.h>
 
-#ifdef TIME_WITH_SYS_TIME
+#ifdef HAVE_SYS_TIME_H
 # include <sys/time.h>
-# include <time.h>
-#else
-# ifdef TM_IN_SYS_TIME
-#  include <sys/time.h>
-# else
-#  include <time.h>
-# endif
 #endif
+#include <time.h>
 
 static struct swit parswit[] = {
 #define        PRAND                   0
@@ -538,7 +530,8 @@ PRaction (struct nexus *n, int level)
                dasctime (&n->n_tws, TW_NULL));
        return;
     }
-    fprintf (stderr, "UNKNOWN(0x%x)\n", (unsigned int) (*n->n_action));
+    fprintf (stderr, "UNKNOWN(0x%x)\n",
+            (unsigned int)(unsigned long) (*n->n_action));
 }
 
 
@@ -663,6 +656,8 @@ static int
 GREPaction (params)
 plist
 {
+    NMH_UNUSED (msgnum);
+
     int c, body, lf;
     long pos = start;
     register char *p1, *p2, *ebp, *cbp;
@@ -936,6 +931,8 @@ static int
 TWSaction (params)
 plist
 {
+    NMH_UNUSED (stop);
+
     int state;
     register char *bp;
     char buf[BUFSIZ], name[NAMESZ];