Skip to content

Commit

Permalink
Remove 'extern int errno;' from public view in linux/unistd.h
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
David Woodhouse authored and dwmw2 committed Apr 29, 2006
1 parent c7afb48 commit 34c278d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/linux/unistd.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#ifndef _LINUX_UNISTD_H_
#define _LINUX_UNISTD_H_

#ifdef __KERNEL__
extern int errno;
#endif

/*
* Include machine specific syscallX macros
Expand Down

0 comments on commit 34c278d

Please sign in to comment.