summaryrefslogtreecommitdiff
path: root/components/hostname.c
diff options
context:
space:
mode:
authorAaron Marcher <me@drkhsh.at>2018-05-30 19:35:37 +0200
committerAaron Marcher <me@drkhsh.at>2018-05-30 19:35:37 +0200
commit08ae4e02e7021372770abde2639af971c8691f09 (patch)
treeb801cbddcf13203e53c664e77d1ea4b7357cea54 /components/hostname.c
parent4f619b0198a1dbc29a48bda43f9e8e7f0a18c77a (diff)
Clean up header includes
- Remove <errno.h> because related functions are in util.c now - Remove corresponding <string.h> if not used otherwise
Diffstat (limited to 'components/hostname.c')
-rw-r--r--components/hostname.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/components/hostname.c b/components/hostname.c
index dc3bbf1..23da677 100644
--- a/components/hostname.c
+++ b/components/hostname.c
@@ -1,7 +1,5 @@
/* See LICENSE file for copyright and license details. */
-#include <errno.h>
#include <stdio.h>
-#include <string.h>
#include <unistd.h>
#include "../util.h"