]> diplodocus.org Git - nmh/commitdiff
Remove symbols-wanted comments after #include.
authorRalph Corderoy <ralph@inputplus.co.uk>
Thu, 2 Nov 2017 14:09:26 +0000 (14:09 +0000)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 12 Nov 2017 12:24:43 +0000 (12:24 +0000)
They're unlikely to be up to date, and they are few.

sbr/context_read.c
sbr/dtime.c
sbr/m_rand.c
sbr/message_id.c
sbr/mts.c
test/getcanon.c
uip/install-mh.c
uip/replsbr.c

index 072e3df..97bf140 100644 (file)
  *         environment variable or by the profile.
  */
 
-#include "h/mh.h"                              /* mh internals */
+#include "h/mh.h"
 #include "error.h"
 #include "lock_file.h"
 #include "m_maildir.h"
 #include "makedir.h"
-#include <pwd.h>                               /* structure for getpwuid() results */
+#include <pwd.h>
 #include "h/utils.h"
 
 void
index c2a5bf8..3f8f763 100644 (file)
@@ -5,7 +5,7 @@
  * complete copyright information.
  */
 
-#include "h/mh.h"   /* for snprintf() */
+#include "h/mh.h"
 #include "h/nmh.h"
 #include "h/utils.h"
 #include "h/tws.h"
index 24e5998..1accdc8 100644 (file)
@@ -5,11 +5,11 @@
  * complete copyright information.
  */
 
-#include <stdlib.h>  /* for abs(), srand(), rand(), arc4random() */
+#include <stdlib.h>
 #include <stdbool.h>
-#include <stdio.h>   /* for fopen(), fread(), fclose() */
-#include <unistd.h>  /* for getpid() */
-#include <time.h>    /* for time() */
+#include <stdio.h>
+#include <unistd.h>
+#include <time.h>
 
 #include "config.h"
 #include "m_rand.h"
index 7130cd4..1e29051 100644 (file)
@@ -10,7 +10,7 @@
 #include "h/mts.h"
 #include "m_rand.h"
 #include "message_id.h"
-#include <sys/time.h>  /* for gettimeofday() */
+#include <sys/time.h>
 #include "base64.h"
 
 
index a167b09..151a4d0 100644 (file)
--- a/sbr/mts.c
+++ b/sbr/mts.c
@@ -5,7 +5,7 @@
  * complete copyright information.
  */
 
-#include "h/mh.h"   /* for snprintf() */
+#include "h/mh.h"
 #include "error.h"
 #include "h/utils.h"
 
index 3e6d587..27077dc 100644 (file)
@@ -5,12 +5,12 @@
  * complete copyright information.
  */
 
-#include <netdb.h>   /* for getaddrinfo */
+#include <netdb.h>
 #include <sys/socket.h>
 #include <sys/types.h>
-#include <unistd.h>  /* for gethostname */
-#include <limits.h>  /* for _POSIX_HOST_NAME_MAX */
-#include <string.h>  /* for memset */
+#include <unistd.h>
+#include <limits.h>
+#include <string.h>
 #include <stdio.h>
 #include <errno.h>
 
index 59e88da..776c30d 100644 (file)
@@ -5,13 +5,13 @@
  * complete copyright information.
  */
 
-#include "h/mh.h"                              /* mh internals */
+#include "h/mh.h"
 #include "sbr/error.h"
 #include "h/done.h"
 #include "h/utils.h"
 #include "sbr/m_maildir.h"
 #include "sbr/makedir.h"
-#include <pwd.h>                               /* structure for getpwuid() results */
+#include <pwd.h>
 #include "sbr/read_line.h"
 
 #define INSTALLMH_SWITCHES \
index 12d75cd..cca19c1 100644 (file)
@@ -11,7 +11,7 @@
 #include "h/fmt_scan.h"
 #include "h/done.h"
 #include "h/utils.h"
-#include <sys/file.h>          /* L_SET */
+#include <sys/file.h>
 #include "replsbr.h"
 
 short ccto = -1;