mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-22 16:49:45 +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
|
#ifdef _POSIX_26_C_SOURCE
|
||||||
#include <stddef.h>
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
int posix_devctl(
|
int posix_devctl(
|
||||||
int fd,
|
int fd,
|
||||||
int dcmd,
|
int dcmd,
|
||||||
void *__restrict, dev_data_ptr,
|
void *__restrict dev_data_ptr,
|
||||||
size_t nbyte,
|
size_t nbyte,
|
||||||
int *__restrict, dev_info_ptr
|
int *__restrict dev_info_ptr
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user