]> diplodocus.org Git - nmh/commitdiff
Removed some #includes of stdio.h, ctype.h, stdlib.h, and
authorDavid Levine <levinedl@acm.org>
Mon, 29 Apr 2013 00:42:09 +0000 (19:42 -0500)
committerDavid Levine <levinedl@acm.org>
Mon, 29 Apr 2013 00:42:09 +0000 (19:42 -0500)
string.h because they're #include'd by h/nmh.h.

sbr/getanswer.c
sbr/mf.c
sbr/mts.c
uip/new.c

index d0ec6f8..7392215 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <h/mh.h>
-#include <stdio.h>
 
 
 int
index 84f1afa..6adbba7 100644 (file)
--- a/sbr/mf.c
+++ b/sbr/mf.c
@@ -8,8 +8,6 @@
  */
 
 #include <h/mf.h>
-#include <ctype.h>
-#include <stdio.h>
 #include <h/utils.h>
 
 /*
index f498615..4a44c44 100644 (file)
--- a/sbr/mts.c
+++ b/sbr/mts.c
@@ -8,13 +8,10 @@
  */
 
 #include <h/mh.h>   /* for snprintf() */
-#include <h/nmh.h>
 #include <h/utils.h>
 
 #define nmhetcdir(file) NMHETCDIR#file
 
-#include <ctype.h>
-#include <stdio.h>
 #include <h/mts.h>
 #include <pwd.h>
 #include <sys/socket.h>
index 5efdf74..57e2706 100644 (file)
--- a/uip/new.c
+++ b/uip/new.c
 
 #include <sys/types.h>
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
 #include <h/mh.h>
 #include <h/crawl_folders.h>
 #include <h/utils.h>