mirror of https://gitee.com/openkylin/linux.git
Remove 'extern int errno;' from public view in linux/unistd.h
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
parent
c7afb48eb5
commit
34c278d391
|
@ -1,7 +1,9 @@
|
|||
#ifndef _LINUX_UNISTD_H_
|
||||
#define _LINUX_UNISTD_H_
|
||||
|
||||
#ifdef __KERNEL__
|
||||
extern int errno;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Include machine specific syscallX macros
|
||||
|
|
Loading…
Reference in New Issue