diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-09-22 10:07:20 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-09-22 10:07:20 -0500 |
commit | 196749ceddd3e18ab1d88fcf2cfd590822c1864c (patch) | |
tree | 7b394baf369c719af55ab49edd3832f684edbddc | |
parent | __assert.c: Fix missing prototype warnings (diff) | |
download | rtems-196749ceddd3e18ab1d88fcf2cfd590822c1864c.tar.bz2 |
__gitpid.c: Fix missing prototype warnings
-rw-r--r-- | 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 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. |