From c6de2fa03634669c411dc1c4c8621ac8df77edb2 Mon Sep 17 00:00:00 2001 From: short <> Date: Tue, 26 Feb 2002 22:55:45 +0000 Subject: [PATCH] Fixed getpid() to be real function on uClinux (just prototype was missing) --- include/uccompat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uccompat.h b/include/uccompat.h index 807e74f..2dab590 100644 --- a/include/uccompat.h +++ b/include/uccompat.h @@ -33,7 +33,7 @@ extern char * strchr __P ((const char *, int)); extern char * strrchr __P ((const char *, int)); -#define getpid() (2) +extern pid_t getpid(void); #endif /* UCCOMPAT */ -- 1.8.3.1