summaryrefslogtreecommitdiff
path: root/components/user.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
commitb0401b13bb78bacde9d10b00766830cbeb2c90f6 (patch)
treeb801cbddcf13203e53c664e77d1ea4b7357cea54 /components/user.c
parentc0436810efa61b1207f57838fbb79b31bf593433 (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/user.c')
-rw-r--r--components/user.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/components/user.c b/components/user.c
index cd503f6..71a0c9d 100644
--- a/components/user.c
+++ b/components/user.c
@@ -1,8 +1,6 @@
/* See LICENSE file for copyright and license details. */
-#include <errno.h>
#include <pwd.h>
#include <stdio.h>
-#include <string.h>
#include <sys/types.h>
#include <unistd.h>