From 9ce1458f83bfd6b7705cccc2343230971c6e54bb Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Thu, 2 Nov 2017 14:09:26 +0000 Subject: [PATCH] Remove symbols-wanted comments after #include. They're unlikely to be up to date, and they are few. --- sbr/context_read.c | 4 ++-- sbr/dtime.c | 2 +- sbr/m_rand.c | 8 ++++---- sbr/message_id.c | 2 +- sbr/mts.c | 2 +- test/getcanon.c | 8 ++++---- uip/install-mh.c | 4 ++-- uip/replsbr.c | 2 +- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/sbr/context_read.c b/sbr/context_read.c index 072e3df1..97bf1404 100644 --- a/sbr/context_read.c +++ b/sbr/context_read.c @@ -21,12 +21,12 @@ * 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 /* structure for getpwuid() results */ +#include #include "h/utils.h" void diff --git a/sbr/dtime.c b/sbr/dtime.c index c2a5bf8d..3f8f7631 100644 --- a/sbr/dtime.c +++ b/sbr/dtime.c @@ -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" diff --git a/sbr/m_rand.c b/sbr/m_rand.c index 24e5998d..1accdc89 100644 --- a/sbr/m_rand.c +++ b/sbr/m_rand.c @@ -5,11 +5,11 @@ * complete copyright information. */ -#include /* for abs(), srand(), rand(), arc4random() */ +#include #include -#include /* for fopen(), fread(), fclose() */ -#include /* for getpid() */ -#include /* for time() */ +#include +#include +#include #include "config.h" #include "m_rand.h" diff --git a/sbr/message_id.c b/sbr/message_id.c index 7130cd47..1e29051d 100644 --- a/sbr/message_id.c +++ b/sbr/message_id.c @@ -10,7 +10,7 @@ #include "h/mts.h" #include "m_rand.h" #include "message_id.h" -#include /* for gettimeofday() */ +#include #include "base64.h" diff --git a/sbr/mts.c b/sbr/mts.c index a167b09e..151a4d0f 100644 --- 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" diff --git a/test/getcanon.c b/test/getcanon.c index 3e6d5870..27077dc6 100644 --- a/test/getcanon.c +++ b/test/getcanon.c @@ -5,12 +5,12 @@ * complete copyright information. */ -#include /* for getaddrinfo */ +#include #include #include -#include /* for gethostname */ -#include /* for _POSIX_HOST_NAME_MAX */ -#include /* for memset */ +#include +#include +#include #include #include diff --git a/uip/install-mh.c b/uip/install-mh.c index 59e88da0..776c30d4 100644 --- a/uip/install-mh.c +++ b/uip/install-mh.c @@ -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 /* structure for getpwuid() results */ +#include #include "sbr/read_line.h" #define INSTALLMH_SWITCHES \ diff --git a/uip/replsbr.c b/uip/replsbr.c index 12d75cd9..cca19c17 100644 --- a/uip/replsbr.c +++ b/uip/replsbr.c @@ -11,7 +11,7 @@ #include "h/fmt_scan.h" #include "h/done.h" #include "h/utils.h" -#include /* L_SET */ +#include #include "replsbr.h" short ccto = -1; -- 2.56.0