summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.