From: short <> Date: Tue, 26 Feb 2002 22:55:45 +0000 (+0000) Subject: Fixed getpid() to be real function on uClinux (just prototype was missing) X-Git-Tag: uc_works1~31 X-Git-Url: https://git.jankratochvil.net/?p=gnokii.git;a=commitdiff_plain;h=c6de2fa03634669c411dc1c4c8621ac8df77edb2 Fixed getpid() to be real function on uClinux (just prototype was missing) --- 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 */