wmtime: Tidy #includes based on results of include-what-you-use.
This commit is contained in:
parent
59b41b8449
commit
5d4363d302
|
@ -58,31 +58,25 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
#include <stdlib.h>
|
#include <X11/X.h> /* for ButtonPress, ButtonRelease, etc */
|
||||||
#include <stdio.h>
|
#include <X11/Xlib.h> /* for XEvent, XButtonEvent, etc */
|
||||||
#include <time.h>
|
#include <ctype.h> /* for toupper */
|
||||||
#include <string.h>
|
#include <iconv.h> /* for iconv, iconv_close, etc */
|
||||||
#include <fcntl.h>
|
#include <langinfo.h> /* for nl_langinfo, ABDAY_1, etc */
|
||||||
#include <unistd.h>
|
#include <locale.h> /* for NULL, setlocale, LC_ALL */
|
||||||
#include <math.h>
|
#include <math.h> /* for floor, cos, sin, M_PI */
|
||||||
#include <locale.h>
|
#include <stddef.h> /* for size_t */
|
||||||
#include <langinfo.h>
|
#include <stdio.h> /* for printf, asprintf, snprintf, etc */
|
||||||
#include <iconv.h>
|
#include <stdlib.h> /* for abs, free, exit, getenv */
|
||||||
#include <ctype.h>
|
#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 */
|
||||||
|
|
||||||
#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"
|
|
||||||
|
|
||||||
/***********/
|
/***********/
|
||||||
/* Defines */
|
/* Defines */
|
||||||
|
|
Loading…
Reference in a new issue