projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7afb48
)
Remove 'extern int errno;' from public view in linux/unistd.h
author
David Woodhouse
<dwmw2@shinybook.infradead.org>
Sat, 29 Apr 2006 00:49:06 +0000
(
01:49
+0100)
committer
David Woodhouse
<dwmw2@infradead.org>
Sat, 29 Apr 2006 00:49:06 +0000
(
01:49
+0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/linux/unistd.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/unistd.h
b/include/linux/unistd.h
index 10ed9834b82241c5c102504217fc288ff528f4c8..c18c60f3254ec998d33222aa1bd226c1f6314441 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