aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@shinybook.infradead.org>2006-04-29 01:49:06 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2006-04-29 01:49:06 +0100
commit34c278d3913a15b64943e8c40a16b4f732cc7c59 (patch)
tree25857091378e3062b101076aef7cc9ef397efdea /include/linux
parentc7afb48eb5147be9eb9789b4161462d246451ac2 (diff)
downloadkernel_samsung_smdk4412-34c278d3913a15b64943e8c40a16b4f732cc7c59.zip
kernel_samsung_smdk4412-34c278d3913a15b64943e8c40a16b4f732cc7c59.tar.gz
kernel_samsung_smdk4412-34c278d3913a15b64943e8c40a16b4f732cc7c59.tar.bz2
Remove 'extern int errno;' from public view in linux/unistd.h
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/unistd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/unistd.h b/include/linux/unistd.h
index 10ed983..c18c60f 100644
--- 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