commit f1362b846bd291324988e1f3e9d05400ff30ac88
parent 91807f2b03c7af749427082418bcb56d44900990
Author: Bastien Dejean <nihilhill@gmail.com>
Date: Fri, 18 Dec 2015 22:50:35 +0100
Fix deheader warnings
Diffstat:
5 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/grab.c b/grab.c
@@ -23,6 +23,7 @@
*/
#include <stdlib.h>
+#include <stdbool.h>
#include "parse.h"
#include "grab.h"
diff --git a/helpers.c b/helpers.c
@@ -28,9 +28,9 @@
#include <string.h>
#include <unistd.h>
#include <ctype.h>
+#include <sys/types.h>
#include <sys/wait.h>
#include "sxhkd.h"
-#include "helpers.h"
void warn(char *fmt, ...)
{
diff --git a/parse.c b/parse.c
@@ -22,8 +22,11 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#include <string.h>
+#include <stdbool.h>
#include <inttypes.h>
#include <ctype.h>
#include "locales.h"
diff --git a/sxhkd.c b/sxhkd.c
@@ -25,17 +25,16 @@
#include <xcb/xcb_event.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
-#include <sys/select.h>
+#include <sys/types.h>
+#include <sys/time.h>
#include <sys/socket.h>
#include <fcntl.h>
#include <signal.h>
#include <stdbool.h>
#include "parse.h"
#include "grab.h"
-#include "sxhkd.h"
int main(int argc, char *argv[])
{
diff --git a/types.c b/types.c
@@ -22,13 +22,13 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <unistd.h>
#include "parse.h"
#include "grab.h"
-#include "types.h"
hotkey_t *find_hotkey(xcb_keysym_t keysym, xcb_button_t button, uint16_t modfield, uint8_t event_type, bool *replay_event)
{