4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-15 13:39:26 +08:00

6 Commits

Author SHA1 Message Date
Joel Sherrill
862bdb3880 libc/include/newlib.h: Fix C++ compilation issue 2020-11-16 14:46:15 -05:00
Joel Sherrill
541efda385 newlib/libc/include/devctl.h: Add extern "C" wrapper
Adding this was necessary to allow posix_devctl() from C++.
2020-10-14 10:54:12 -04:00
Joel Sherrill
6a4264d5fd libc/include/devctl.h: Add SOCKCLOSE per FACE Technical Standard, Edition 3.0
The FACE Technical Standard, Edition 3.0 and later require the
	definition of the subcommand SOCKCLOSE in <devctl.h>.
	Reference: https://www.opengroup.org/face
2020-10-14 10:54:00 -04:00
Sebastian Huber
3cf29149be 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>
2017-01-25 12:37:19 +01:00
Joel Sherrill
96267313e1 devctl.h: Use __restrict not restrict 2017-01-17 16:10:58 -06:00
Joel Sherrill
1a2741508b Add <devctl.h> per POSIX 1003.26-2003 2016-12-05 21:00:38 -06:00