summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-09-22 10:07:20 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-09-22 10:07:20 -0500
commit196749ceddd3e18ab1d88fcf2cfd590822c1864c (patch)
tree7b394baf369c719af55ab49edd3832f684edbddc
parent__assert.c: Fix missing prototype warnings (diff)
downloadrtems-196749ceddd3e18ab1d88fcf2cfd590822c1864c.tar.bz2
__gitpid.c: Fix missing prototype warnings
-rw-r--r--cpukit/libcsupport/src/__getpid.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/__getpid.c b/cpukit/libcsupport/src/__getpid.c
index 96e1a3f813..9c15910f29 100644
--- a/cpukit/libcsupport/src/__getpid.c
+++ b/cpukit/libcsupport/src/__getpid.c
@@ -11,6 +11,11 @@
#include <unistd.h>
+/*
+ * Prototype to avoid warning
+ */
+pid_t __getpid(void);
+
/**
* Some C Libraries reference this routine since they think getpid is
* a real system call.