From 3cf29149be02480aed730de51981fe27192c082c Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 25 Jan 2017 07:13:54 +0100 Subject: [PATCH] devctl.h: Fix typo and include proper header Remove stray commas. Include for __restrict (includes indirectly). Signed-off-by: Sebastian Huber --- newlib/libc/include/devctl.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/newlib/libc/include/devctl.h b/newlib/libc/include/devctl.h index 13207ec88..f6055fb96 100644 --- a/newlib/libc/include/devctl.h +++ b/newlib/libc/include/devctl.h @@ -37,14 +37,14 @@ */ #ifdef _POSIX_26_C_SOURCE -#include +#include 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 -- 2.43.5