Changed ioctl() prototype to be more like Linux/POSIX than BSD to ease

porting of ACE to RTEMS.
This commit is contained in:
Joel Sherrill
1999-04-19 17:17:41 +00:00
parent 0213bcfc6a
commit 4186b3bb0c
6 changed files with 6 additions and 6 deletions

View File

@@ -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.

View File

@@ -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.

View File

@@ -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 */

View File

@@ -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.

View File

@@ -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 */

View File

@@ -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.