[rtems commit] __gitpid.c: Fix missing prototype warnings
Joel Sherrill
joel at rtems.org
Sun Sep 22 15:32:20 UTC 2013
Module: rtems
Branch: master
Commit: 196749ceddd3e18ab1d88fcf2cfd590822c1864c
Changeset: http://git.rtems.org/rtems/commit/?id=196749ceddd3e18ab1d88fcf2cfd590822c1864c
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Sun Sep 22 10:07:20 2013 -0500
__gitpid.c: Fix missing prototype warnings
---
cpukit/libcsupport/src/__getpid.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/cpukit/libcsupport/src/__getpid.c b/cpukit/libcsupport/src/__getpid.c
index 96e1a3f..9c15910 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.
More information about the vc
mailing list