aboutsummaryrefslogtreecommitdiffstats
path: root/guts/getpwent.c
diff options
context:
space:
mode:
Diffstat (limited to 'guts/getpwent.c')
-rw-r--r--guts/getpwent.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/guts/getpwent.c b/guts/getpwent.c
deleted file mode 100644
index 3b1f837..0000000
--- a/guts/getpwent.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright (c) 2010 Wind River Systems; see
- * guts/COPYRIGHT for information.
- *
- * static struct passwd *
- * wrap_getpwent(void) {
- * struct passwd * rc = NULL;
- */
- static struct passwd pwd;
- static char pwbuf[PSEUDO_PWD_MAX];
- int r_rc;
-
- r_rc = wrap_getpwent_r(&pwd, pwbuf, PSEUDO_PWD_MAX, &rc);
- /* different error return conventions */
- if (r_rc != 0) {
- errno = r_rc;
- }
-
-/* return rc;
- * }
- */