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
1 changed files with 6 additions and 6 deletions

View File

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