summaryrefslogtreecommitdiff
path: root/src/pwd
diff options
context:
space:
mode:
Diffstat (limited to 'src/pwd')
-rw-r--r--src/pwd/endpwent.c2
-rw-r--r--src/pwd/getpwent.c1
-rw-r--r--src/pwd/getpwnam.c7
-rw-r--r--src/pwd/getpwuid.c2
-rw-r--r--src/pwd/setpwent.c2
5 files changed, 5 insertions, 9 deletions
diff --git a/src/pwd/endpwent.c b/src/pwd/endpwent.c
index df6af455..bb22e1be 100644
--- a/src/pwd/endpwent.c
+++ b/src/pwd/endpwent.c
@@ -1,6 +1,6 @@
#include <pwd.h>
+#include <stdio.h>
#include "_pwd.h"
-#include "stdio.h"
void endpwent(void)
{
diff --git a/src/pwd/getpwent.c b/src/pwd/getpwent.c
index cdf20e8e..9876fcd5 100644
--- a/src/pwd/getpwent.c
+++ b/src/pwd/getpwent.c
@@ -6,7 +6,6 @@
#include <sys/types.h>
#include <pwd.h>
#include <stdlib.h>
-#include <stddef.h>
#include <stdio.h>
#include <limits.h>
#include <string.h>
diff --git a/src/pwd/getpwnam.c b/src/pwd/getpwnam.c
index b2e059c4..f880aedc 100644
--- a/src/pwd/getpwnam.c
+++ b/src/pwd/getpwnam.c
@@ -1,9 +1,6 @@
-#include "sys/types.h"
+#include <sys/types.h>
#include <pwd.h>
-#include "stddef.h"
-#include "stdio.h"
-#include "limits.h"
-#include "string.h"
+#include <string.h>
#include "_pwd.h"
struct passwd * getpwnam(const char * name)
diff --git a/src/pwd/getpwuid.c b/src/pwd/getpwuid.c
index fe97bea4..29982a2c 100644
--- a/src/pwd/getpwuid.c
+++ b/src/pwd/getpwuid.c
@@ -1,4 +1,4 @@
-#include "sys/types.h"
+#include <sys/types.h>
#include <pwd.h>
#include "_pwd.h"
diff --git a/src/pwd/setpwent.c b/src/pwd/setpwent.c
index 0e52d9c0..93fecdf5 100644
--- a/src/pwd/setpwent.c
+++ b/src/pwd/setpwent.c
@@ -1,6 +1,6 @@
#include <pwd.h>
+#include <stdio.h>
#include "_pwd.h"
-#include "stdio.h"
void setpwent(void)
{