wmmisc: Use only necessary headers.

This commit is contained in:
Doug Torrance 2018-07-11 22:12:45 -04:00 committed by Carlos R. Mafra
parent eb0ba99973
commit 036c25fcb5
3 changed files with 3 additions and 15 deletions

View file

@ -19,13 +19,8 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h> #include <string.h>
#include <X11/Xlib.h>
#include <X11/xpm.h>
#include <X11/extensions/shape.h>
#include <libdockapp/wmgeneral.h> #include <libdockapp/wmgeneral.h>
#include "dockapp_draw.h" #include "dockapp_draw.h"
#include "dockapp_utils.h" #include "dockapp_utils.h"

View file

@ -21,23 +21,18 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <getopt.h> #include <bits/getopt_core.h>
#include <signal.h> #include <signal.h>
#ifdef USE_MTRACE #ifdef USE_MTRACE
#include <mcheck.h> #include <mcheck.h>
#endif /* USE_MTRACE */ #endif /* USE_MTRACE */
#include <X11/Xlib.h>
#include <X11/xpm.h>
#include <X11/extensions/shape.h>
#include <libdockapp/wmgeneral.h> #include <libdockapp/wmgeneral.h>
#include "wmmisc-master.xpm" #include "wmmisc-master.xpm"
#include "dockapp_main.h" #include "dockapp_main.h"
#include "dockapp_draw.h" #include "dockapp_draw.h"
#include "dockapp_utils.h"
void void
dockapp_show_help( const char* wm_name ) dockapp_show_help( const char* wm_name )

View file

@ -18,11 +18,9 @@
* *
*/ */
#include <bits/types/time_t.h>
#include <paths.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <utmp.h> #include <utmp.h>