forked from Imagelibrary/rtems
Changed ioctl() prototype to be more like Linux/POSIX than BSD to ease
porting of ACE to RTEMS.
This commit is contained in:
@@ -175,7 +175,7 @@ void ipintr (void);
|
|||||||
void arpintr (void);
|
void arpintr (void);
|
||||||
void bootpc_init(void);
|
void bootpc_init(void);
|
||||||
int socket (int, int, int);
|
int socket (int, int, int);
|
||||||
int ioctl (int, unsigned long, ...);
|
int ioctl (int, int, ...);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Events used by networking routines.
|
* Events used by networking routines.
|
||||||
|
|||||||
@@ -175,7 +175,7 @@ void ipintr (void);
|
|||||||
void arpintr (void);
|
void arpintr (void);
|
||||||
void bootpc_init(void);
|
void bootpc_init(void);
|
||||||
int socket (int, int, int);
|
int socket (int, int, int);
|
||||||
int ioctl (int, unsigned long, ...);
|
int ioctl (int, int, ...);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Events used by networking routines.
|
* Events used by networking routines.
|
||||||
|
|||||||
@@ -67,7 +67,7 @@
|
|||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
int ioctl __P((int, unsigned long, ...));
|
int ioctl __P((int, int, ...));
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
#endif /* !KERNEL */
|
#endif /* !KERNEL */
|
||||||
|
|||||||
@@ -175,7 +175,7 @@ void ipintr (void);
|
|||||||
void arpintr (void);
|
void arpintr (void);
|
||||||
void bootpc_init(void);
|
void bootpc_init(void);
|
||||||
int socket (int, int, int);
|
int socket (int, int, int);
|
||||||
int ioctl (int, unsigned long, ...);
|
int ioctl (int, int, ...);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Events used by networking routines.
|
* Events used by networking routines.
|
||||||
|
|||||||
@@ -67,7 +67,7 @@
|
|||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
int ioctl __P((int, unsigned long, ...));
|
int ioctl __P((int, int, ...));
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
#endif /* !KERNEL */
|
#endif /* !KERNEL */
|
||||||
|
|||||||
@@ -175,7 +175,7 @@ void ipintr (void);
|
|||||||
void arpintr (void);
|
void arpintr (void);
|
||||||
void bootpc_init(void);
|
void bootpc_init(void);
|
||||||
int socket (int, int, int);
|
int socket (int, int, int);
|
||||||
int ioctl (int, unsigned long, ...);
|
int ioctl (int, int, ...);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Events used by networking routines.
|
* Events used by networking routines.
|
||||||
|
|||||||
Reference in New Issue
Block a user