From 5d4363d3021a8096e9c34e2ef9de81f6e06667c6 Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Mon, 25 May 2015 17:21:25 -0500 Subject: [PATCH] wmtime: Tidy #includes based on results of include-what-you-use. --- wmtime/wmtime.c | 42 ++++++++++++++++++------------------------ 1 file changed, 18 insertions(+), 24 deletions(-) diff --git a/wmtime/wmtime.c b/wmtime/wmtime.c index ef12a4d..ad37136 100644 --- a/wmtime/wmtime.c +++ b/wmtime/wmtime.c @@ -58,31 +58,25 @@ */ #define _GNU_SOURCE -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include /* for ButtonPress, ButtonRelease, etc */ +#include /* for XEvent, XButtonEvent, etc */ +#include /* for toupper */ +#include /* for iconv, iconv_close, etc */ +#include /* for nl_langinfo, ABDAY_1, etc */ +#include /* for NULL, setlocale, LC_ALL */ +#include /* for floor, cos, sin, M_PI */ +#include /* for size_t */ +#include /* for printf, asprintf, snprintf, etc */ +#include /* for abs, free, exit, getenv */ +#include /* for strcmp, strdup, strncpy, etc */ +#include /* for waitpid, WNOHANG */ +#include /* for tm, time, localtime */ +#include /* 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 */ -#include -#include -#include - -#include -#include -#include - -#include "wmgeneral/wmgeneral.h" -#include "wmgeneral/misc.h" - -#include "wmtime-master.xpm" -#include "wmtime-mask.xbm" /***********/ /* Defines */