[rtems commit] getpwent.c: Fix missing prototype warnings
Joel Sherrill
joel at rtems.org
Sun Sep 22 15:32:20 UTC 2013
Module: rtems
Branch: master
Commit: 359b6d0ce951302d63cfe3a7a1d8305e6e604aa2
Changeset: http://git.rtems.org/rtems/commit/?id=359b6d0ce951302d63cfe3a7a1d8305e6e604aa2
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Sun Sep 22 10:31:08 2013 -0500
getpwent.c: Fix missing prototype warnings
---
cpukit/libcsupport/src/getpwent.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/cpukit/libcsupport/src/getpwent.c b/cpukit/libcsupport/src/getpwent.c
index 618f318..1629ade 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
*/
More information about the vc
mailing list