Fixed getpid() to be real function on uClinux (just prototype was missing)
authorshort <>
Tue, 26 Feb 2002 22:55:45 +0000 (22:55 +0000)
committershort <>
Tue, 26 Feb 2002 22:55:45 +0000 (22:55 +0000)
include/uccompat.h

index 807e74f..2dab590 100644 (file)
@@ -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 */