git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove 'extern int errno;' from public view in linux/unistd.h
[pandora-kernel.git]
/
include
/
linux
/
unistd.h
diff --git
a/include/linux/unistd.h
b/include/linux/unistd.h
index
10ed983
..
c18c60f
100644
(file)
--- a/
include/linux/unistd.h
+++ b/
include/linux/unistd.h
@@
-1,7
+1,9
@@
#ifndef _LINUX_UNISTD_H_
#define _LINUX_UNISTD_H_
+#ifdef __KERNEL__
extern int errno;
+#endif
/*
* Include machine specific syscallX macros