summaryrefslogtreecommitdiff
path: root/usr/statics.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/statics.c')
-rw-r--r--usr/statics.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/usr/statics.c b/usr/statics.c
deleted file mode 100644
index f59729b..0000000
--- a/usr/statics.c
+++ /dev/null
@@ -1,19 +0,0 @@
-#include <unistd.h>
-#include <pwd.h>
-#include <errno.h>
-#include <sys/types.h>
-
-static struct passwd root_pw = {
- .pw_name = "root",
-};
-
-struct passwd*
-getpwuid(uid_t uid)
-{
- if (uid == 0)
- return &root_pw;
- else {
- errno = ENOENT;
- return 0;
- }
-}