Skip to content

Commit

Permalink
Fix deheader warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
baskerville committed Dec 18, 2015
1 parent 91807f2 commit f1362b8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions grab.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/

#include <stdlib.h>
#include <stdbool.h>
#include "parse.h"
#include "grab.h"

Expand Down
2 changes: 1 addition & 1 deletion helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, ...)
{
Expand Down
3 changes: 3 additions & 0 deletions parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 2 additions & 3 deletions sxhkd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[])
{
Expand Down
2 changes: 1 addition & 1 deletion types.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit f1362b8

Please sign in to comment.