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