[Pkg-wmaker-commits] [wmtime] 72/101: wmtime: Tidy #includes based on results of include-what-you-use.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Mon Aug 24 23:59:30 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmtime.

commit 7d86d87fe3795b4bde8b9dd1cb20d68f2ea0229f
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Mon May 25 17:21:25 2015 -0500

    wmtime: Tidy #includes based on results of include-what-you-use.
---
 wmtime.c | 44 +++++++++++++++++++-------------------------
 1 file changed, 19 insertions(+), 25 deletions(-)

diff --git a/wmtime.c b/wmtime.c
index ef12a4d..ad37136 100644
--- a/wmtime.c
+++ b/wmtime.c
@@ -58,31 +58,25 @@
 */
 
 #define _GNU_SOURCE
-#include <stdlib.h>
-#include <stdio.h>
-#include <time.h>
-#include <string.h>
-#include <fcntl.h>
-#include <unistd.h>
-#include <math.h>
-#include <locale.h>
-#include <langinfo.h>
-#include <iconv.h>
-#include <ctype.h>
-
-#include <sys/wait.h>
-#include <sys/param.h>
-#include <sys/types.h>
-
-#include <X11/Xlib.h>
-#include <X11/xpm.h>
-#include <X11/extensions/shape.h>
-
-#include "wmgeneral/wmgeneral.h"
-#include "wmgeneral/misc.h"
-
-#include "wmtime-master.xpm"
-#include "wmtime-mask.xbm"
+#include <X11/X.h>                     /* for ButtonPress, ButtonRelease, etc */
+#include <X11/Xlib.h>                  /* for XEvent, XButtonEvent, etc */
+#include <ctype.h>                     /* for toupper */
+#include <iconv.h>                     /* for iconv, iconv_close, etc */
+#include <langinfo.h>                  /* for nl_langinfo, ABDAY_1, etc */
+#include <locale.h>                    /* for NULL, setlocale, LC_ALL */
+#include <math.h>                      /* for floor, cos, sin, M_PI */
+#include <stddef.h>                    /* for size_t */
+#include <stdio.h>                     /* for printf, asprintf, snprintf, etc */
+#include <stdlib.h>                    /* for abs, free, exit, getenv */
+#include <string.h>                    /* for strcmp, strdup, strncpy, etc */
+#include <sys/wait.h>                  /* for waitpid, WNOHANG */
+#include <time.h>                      /* for tm, time, localtime */
+#include <unistd.h>                    /* for usleep */
+#include "wmgeneral/misc.h"            /* for execCommand */
+#include "wmgeneral/wmgeneral.h"       /* for copyXPMArea, RedrawWindow, etc */
+#include "wmtime-mask.xbm"             /* for wmtime_mask_bits */
+#include "wmtime-master.xpm"           /* for wmtime_master_xpm */
+
 
   /***********/
  /* Defines */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmtime.git



More information about the Pkg-wmaker-commits mailing list