Fix all implicit declarations

AC_HEADER_TIME is only needed if you need to include time.h and
sys/time.h at the same time.

The truth is this codebase is an unholy mess but at least this fixes
the warnings.
This commit is contained in:
James Le Cuirot
2020-04-26 20:20:16 +01:00
parent cf6e360a7e
commit d91710ba03
7 changed files with 26 additions and 25 deletions

View File

@@ -13,9 +13,6 @@
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
#endif
@@ -42,7 +39,6 @@ extern Display *dpy;
extern void add_fd_to_set(int);
extern void remove_fd_from_set(int);
extern void screentoback();
extern void raiselowerclient(Client *, int);
extern void wberror(Scrn *, char *);
extern void reparent(Client *);