Skip to content

Commit 9e98e5d

Browse files
committed
Remove useless #include
1 parent 65f6e0f commit 9e98e5d

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

main/gridinit.c

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,28 +18,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
1818
*/
1919

2020
#include <stdlib.h>
21-
#include <fcntl.h>
22-
#include <errno.h>
23-
#include <string.h>
24-
#include <strings.h>
25-
#include <math.h>
21+
#include <stdio.h>
2622
#include <signal.h>
27-
#include <unistd.h>
2823
#include <pwd.h>
2924
#include <grp.h>
30-
#include <arpa/inet.h>
31-
#include <netinet/in.h>
32-
#include <netinet/tcp.h>
3325
#include <sys/socket.h>
3426
#include <sys/time.h>
3527
#include <sys/types.h>
36-
#include <sys/stat.h>
3728
#include <sys/un.h>
3829

3930
#include <syslog.h>
4031
#include <glob.h>
4132

42-
#include <event.h>
4333
#include <glib.h>
4434
#include <libdill.h>
4535

main/gridinit_cmd.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
1818
*/
1919

2020
#include <stdlib.h>
21-
#include <string.h>
21+
#include <stdio.h>
2222
#include <getopt.h>
2323
#include <strings.h>
24-
#include <stdio.h>
2524
#include <fcntl.h>
2625
#include <errno.h>
2726
#include <unistd.h>
2827
#include <sys/socket.h>
29-
#include <sys/stat.h>
3028
#include <sys/un.h>
3129

3230
#include <glib.h>

0 commit comments

Comments
 (0)