public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] devctl.h: Fix typo and include proper header
@ 2017-01-25 11:37 Corinna Vinschen
0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2017-01-25 11:37 UTC (permalink / raw)
To: newlib-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=3cf29149be02480aed730de51981fe27192c082c
commit 3cf29149be02480aed730de51981fe27192c082c
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date: Wed Jan 25 07:13:54 2017 +0100
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>
Diff:
---
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 13207ec..f6055fb 100644
--- a/newlib/libc/include/devctl.h
+++ b/newlib/libc/include/devctl.h
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-01-25 11:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-25 11:37 [newlib-cygwin] devctl.h: Fix typo and include proper header Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).