diff options
| author | Pixel <pixel@nobis-crew.org> | 2011-02-05 08:31:33 -0800 |
|---|---|---|
| committer | Pixel <pixel@nobis-crew.org> | 2011-02-05 08:31:33 -0800 |
| commit | 0736203a630b2fbc2bc3e6383e4aec9285bba184 (patch) | |
| tree | 1bca3f8821e607a47b4adfaab2f60fa029a2a58a /libc/include | |
| parent | 681c1493836e79ea87faba47a804899374ccc219 (diff) | |
Context switch also means switching that global errno variable.
Diffstat (limited to 'libc/include')
| -rw-r--r-- | libc/include/errno.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/include/errno.h b/libc/include/errno.h index c88ea64..5e0af8c 100644 --- a/libc/include/errno.h +++ b/libc/include/errno.h @@ -137,4 +137,6 @@ enum errno_t { ERFKILL = 132, }; +volatile extern enum errno_t errno; + #endif |
