[Pkg-wmaker-commits] [wmifs] 92/118: wmifs: Tidy #includes using include-what-you-use.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Thu Aug 27 02:37:55 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmifs.
commit 928086284a063c03d1affa2b7e5ca28bc977ed33
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Wed May 27 17:33:26 2015 -0500
wmifs: Tidy #includes using include-what-you-use.
---
wmifs.c | 47 +++++++++++++++++++----------------------------
1 file changed, 19 insertions(+), 28 deletions(-)
diff --git a/wmifs.c b/wmifs.c
index 64f8b67..b42811b 100644
--- a/wmifs.c
+++ b/wmifs.c
@@ -177,34 +177,25 @@
*/
#define _DEFAULT_SOURCE
-#include <stdlib.h>
-#include <stdio.h>
-#include <time.h>
-#include <string.h>
-#include <fcntl.h>
-#include <unistd.h>
-#include <ctype.h>
-
-#include <sys/wait.h>
-#include <sys/stat.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/ioctl.h>
-#include <sys/socket.h>
-#include <sys/time.h>
-
-#include <X11/Xlib.h>
-#include <X11/xpm.h>
-#include <X11/extensions/shape.h>
-
-#include <net/ppp_defs.h>
-#include <net/if_ppp.h>
-
-#include "wmgeneral/wmgeneral.h"
-#include "wmgeneral/misc.h"
-
-#include "wmifs-master.xpm"
-#include "wmifs-mask.xbm"
+#include <X11/X.h> /* for ButtonPress, ButtonRelease, etc */
+#include <X11/Xlib.h> /* for XEvent, XButtonEvent, etc */
+#include <X11/xpm.h> /* for XpmColorSymbol, Pixel, etc */
+#include <ctype.h> /* for toupper */
+#include <linux/ppp_defs.h> /* for ppp_stats, pppstat */
+#include <net/if_ppp.h> /* for ifpppstatsreq, ifr__name, etc */
+#include <stddef.h> /* for size_t */
+#include <stdio.h> /* for fprintf, NULL, stderr, etc */
+#include <stdlib.h> /* for exit, atof, atoi, getenv */
+#include <string.h> /* for strcmp, strcpy, strlen, etc */
+#include <sys/ioctl.h> /* for ioctl */
+#include <sys/socket.h> /* for socket, AF_INET */
+#include <sys/time.h> /* for timeval, gettimeofday */
+#include <sys/wait.h> /* for waitpid, WNOHANG */
+#include <time.h> /* for timespec, nanosleep */
+#include "wmgeneral/misc.h" /* for execCommand */
+#include "wmgeneral/wmgeneral.h" /* for copyXPMArea, display, etc */
+#include "wmifs-mask.xbm" /* for wmifs_mask_bits, etc */
+#include "wmifs-master.xpm" /* for wmifs_master_xpm */
/* How often to check for new network interface, in ms */
#define CHECK_INTERFACE_INTERVAL 5000
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmifs.git
More information about the Pkg-wmaker-commits
mailing list