git://git.jankratochvil.net
/
gnokii.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8be8c8
)
Fixed getpid() to be real function on uClinux (just prototype was missing)
author
short
<>
Tue, 26 Feb 2002 22:55:45 +0000
(22:55 +0000)
committer
short
<>
Tue, 26 Feb 2002 22:55:45 +0000
(22:55 +0000)
include/uccompat.h
patch
|
blob
|
history
diff --git
a/include/uccompat.h
b/include/uccompat.h
index
807e74f
..
2dab590
100644
(file)
--- 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 */