mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-21 00:07:36 +08:00
devctl.h: Fix typo and include proper header
Remove stray commas. Include <sys/cdefs.h> for __restrict (includes <stddef.h> indirectly). Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
parent
e692cfc121
commit
3cf29149be
@ -37,14 +37,14 @@
|
||||
*/
|
||||
|
||||
#ifdef _POSIX_26_C_SOURCE
|
||||
#include <stddef.h>
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
int posix_devctl(
|
||||
int fd,
|
||||
int dcmd,
|
||||
void *__restrict, dev_data_ptr,
|
||||
size_t nbyte,
|
||||
int *__restrict, dev_info_ptr
|
||||
int fd,
|
||||
int dcmd,
|
||||
void *__restrict dev_data_ptr,
|
||||
size_t nbyte,
|
||||
int *__restrict dev_info_ptr
|
||||
);
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user