This website works better with JavaScript.
Home
Help
Register
Sign In
mirrors
/
libowfat
mirror of
/home/gitosis/repositories/libowfat.git
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
explicitly define extern globals
master
Felix von Leitner
17 years ago
parent
1f7895e25c
commit
ca610274e0
2 changed files
with
19 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+18
-0
io/io_fd.c
+1
-1
io_internal.h
+ 18
- 0
io/io_fd.c
View File
@ -24,6 +24,24 @@
#
include
<sys/devpoll.h>
#
endif
#
ifdef __MINGW32__
extern
HANDLE
io_comport
;
#
endif
array
io_fds
;
uint64
io_wanted_fds
;
array
io_pollfds
;
enum
__io_waitmode
io_waitmode
;
#
if defined(HAVE_KQUEUE) || defined(HAVE_EPOLL) || defined(HAVE_DEVPOLL)
int
io_master
;
#
endif
#
if defined(HAVE_SIGIO)
int
io_signum
;
sigset_t
io_ss
;
long
alt_firstread
;
long
alt_firstwrite
;
#
endif
/* put d on internal data structure, return 1 on success, 0 on error */
int
io_fd
(
int64
d
)
{
io_entry
*
e
;
+ 1
- 1
io_internal.h
View File
@ -41,7 +41,7 @@ extern array io_pollfds;
extern
long
first_readable
;
extern
long
first_writeable
;
extern
enum
{
extern
enum
__io_waitmode
{
UNDECIDED
,
POLL
#
ifdef HAVE_KQUEUE
Write
Preview
Loading…
Cancel
Save