4
0
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:
Sebastian Huber 2017-01-25 07:13:54 +01:00 committed by Corinna Vinschen
parent e692cfc121
commit 3cf29149be

View File

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