summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-09-22 10:31:08 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-09-22 10:31:08 -0500
commit359b6d0ce951302d63cfe3a7a1d8305e6e604aa2 (patch)
tree3f9a35c6648e3002a3a1bf3d1ec7e2bd54bf603a
parentnewlibc_init.c: Fix missing prototype warnings (diff)
downloadrtems-359b6d0ce951302d63cfe3a7a1d8305e6e604aa2.tar.bz2
getpwent.c: Fix missing prototype warnings
-rw-r--r--cpukit/libcsupport/src/getpwent.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/getpwent.c b/cpukit/libcsupport/src/getpwent.c
index 618f318885..1629adef5b 100644
--- a/cpukit/libcsupport/src/getpwent.c
+++ b/cpukit/libcsupport/src/getpwent.c
@@ -43,6 +43,11 @@ static FILE *group_fp;
static char grbuf[200];
static struct group grent;
+/*
+ * Prototype to avoid warning
+ */
+void init_etc_passwd_group(void);
+
/**
* Initialize useable but dummy databases
*/