]> diplodocus.org Git - nmh/blobdiff - sbr/message_id.c
pending-release-notes: add mhshow's "-prefer", and mh-format's %(kibi/kilo)
[nmh] / sbr / message_id.c
index bb71313021501967de473e571a3d15de84efaf45..c20bc1c371609e57ff057be0eaef86ae04836d84 100644 (file)
@@ -8,9 +8,7 @@
  */
 
 #include <h/mh.h>
-#include <unistd.h>    /* for getpid() */
 #include <sys/time.h>  /* for gettimeofday() */
-#include <stdio.h>
 
 
 static enum {
@@ -23,10 +21,10 @@ static char message_id_[BUFSIZ];
 /* Convert name of message id style to integer value and store it. */
 int
 save_message_id_style (const char *value) {
-  if (! mh_strcasecmp (value, "localname")) {
+  if (! strcasecmp (value, "localname")) {
     message_id_style = NMH_MESSAGE_ID_LOCALNAME;
     return 0;
-  } else if (! mh_strcasecmp (value, "random")) {
+  } else if (! strcasecmp (value, "random")) {
     message_id_style = NMH_MESSAGE_ID_RANDOM;
     return 0;
   } else {