Skip to content

Commit

Permalink
Merge pull request #39 from mk-fg/cleanup_glib_includes
Browse files Browse the repository at this point in the history
fix: cleanup glib includes, add some missing libc ones
  • Loading branch information
thebaptiste authored Feb 9, 2024
2 parents 0eb49b5 + 37c2f78 commit 7ad8f4f
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/control.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include <glib.h>
#include <glib/gstdio.h>
#include <fcntl.h>
#include <sys/file.h>
#include <unistd.h>
Expand Down
1 change: 0 additions & 1 deletion src/log_proxy.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include <glib.h>
#include <glib/gstdio.h>
#include <glib/gprintf.h>
#include <locale.h>
#include <sys/file.h>
#include <stdlib.h>
Expand Down
3 changes: 1 addition & 2 deletions src/out.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#include <glib.h>
#include <glib/gprintf.h>
#include <glib/gstdio.h>
#include <locale.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
Expand Down
1 change: 0 additions & 1 deletion src/test_log_proxy.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include <glib.h>
#include <glib/gstdio.h>
#include <glib/gi18n.h>
#include <fcntl.h>
#include <locale.h>
#include <string.h>
Expand Down
1 change: 1 addition & 0 deletions src/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>
#include <pwd.h>
#include <grp.h>
Expand Down

0 comments on commit 7ad8f4f

Please sign in to comment.