]> sourceware.org Git - newlib-cygwin.git/commitdiff
devctl.h: Fix typo and include proper header
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Wed, 25 Jan 2017 06:13:54 +0000 (07:13 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 25 Jan 2017 11:37:19 +0000 (12:37 +0100)
Remove stray commas.  Include <sys/cdefs.h> for __restrict (includes
<stddef.h> indirectly).

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
newlib/libc/include/devctl.h

index 13207ec88de195830a76a1811e9ec88aaba593fa..f6055fb96b7bedb8e8431c648568516a91b8ea26 100644 (file)
  */
 
 #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
 
This page took 0.033985 seconds and 5 git commands to generate.