diff options
Diffstat (limited to 'c/src/exec')
-rw-r--r-- | c/src/exec/libcsupport/src/newlibc.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/c/src/exec/libcsupport/src/newlibc.c b/c/src/exec/libcsupport/src/newlibc.c index 0e38845ecf..6a80d4944b 100644 --- a/c/src/exec/libcsupport/src/newlibc.c +++ b/c/src/exec/libcsupport/src/newlibc.c @@ -333,4 +333,27 @@ void _exit(int status) } #endif + +/* + * These are only supported in the posix api. + */ + +#ifndef RTEMS_POSIX_API + +#include <assert.h> + +pid_t __getpid(void) +{ + assert( 0 ); + return 0; +} + +int __kill( pid_t pid, int sig ) +{ + assert( 0 ); + return 0; +} + +#endif + #endif |