From: David Woodhouse Date: Sat, 29 Apr 2006 00:49:06 +0000 (+0100) Subject: Remove 'extern int errno;' from public view in linux/unistd.h X-Git-Tag: v2.6.18-rc1~1103^2~29 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=34c278d3913a15b64943e8c40a16b4f732cc7c59;p=linux-2.6-omap-h63xx.git Remove 'extern int errno;' from public view in linux/unistd.h Signed-off-by: David Woodhouse --- diff --git a/include/linux/unistd.h b/include/linux/unistd.h index 10ed9834b82..c18c60f3254 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