errno may not be a variable; users must include errno.h instead of
declaring it like `extern int errno'.
This commit is contained in:
parent
5f3b32fd36
commit
3bf2b1b47f
8 changed files with 2 additions and 19 deletions
|
@ -81,8 +81,6 @@ struct iop {
|
|||
int (*notify) ();
|
||||
};
|
||||
|
||||
extern int errno;
|
||||
|
||||
void
|
||||
io_init(void)
|
||||
{
|
||||
|
|
|
@ -38,8 +38,6 @@
|
|||
#include "empio.h"
|
||||
#include "io_mask.h"
|
||||
|
||||
extern int errno;
|
||||
|
||||
struct io_mask *
|
||||
iom_create(int what)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue