[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT/NEWLIB PATCH 8/8] Adapt tcgetattr.c and tcsetattr.c functions to newlib glue code
Add licenses to source files and the source files to Makefile.uk Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx> --- Makefile.uk | 2 ++ musl-imported/src/termios/tcgetattr.c | 24 ++++++++++++++++++++++++ musl-imported/src/termios/tcsetattr.c | 24 ++++++++++++++++++++++++ 3 files changed, 50 insertions(+) diff --git a/Makefile.uk b/Makefile.uk index f11d443..a4e9f6a 100644 --- a/Makefile.uk +++ b/Makefile.uk @@ -113,6 +113,8 @@ LIBNEWLIBGLUE_SRCS-y += $(LIBNEWLIBC_BASE)/time.c|glue LIBNEWLIBGLUE_SRCS-y += $(LIBNEWLIBC_BASE)/locale.c LIBNEWLIBGLUE_SRCS-y += $(LIBNEWLIBC_BASE)/dev.c LIBNEWLIBGLUE_SRCS-y += $(LIBNEWLIBC_BASE)/signal.c +LIBNEWLIBGLUE_SRCS-y += $(LIBNEWLIBC_BASE)/musl-imported/src/termios/tcsetattr.c +LIBNEWLIBGLUE_SRCS-y += $(LIBNEWLIBC_BASE)/musl-imported/src/termios/tcgetattr.c ################################################################################ # Newlib/libc code -- argz diff --git a/musl-imported/src/termios/tcgetattr.c b/musl-imported/src/termios/tcgetattr.c index 545a0bf..3be5b11 100644 --- a/musl-imported/src/termios/tcgetattr.c +++ b/musl-imported/src/termios/tcgetattr.c @@ -1,3 +1,27 @@ +/* SPDX-License-Identifier: MIT */ +/* ---------------------------------------------------------------------- + * Copyright © 2005-2014 Rich Felker, et al. + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * ---------------------------------------------------------------------- + */ #include <termios.h> #include <sys/ioctl.h> diff --git a/musl-imported/src/termios/tcsetattr.c b/musl-imported/src/termios/tcsetattr.c index 94df18f..7eaee51 100644 --- a/musl-imported/src/termios/tcsetattr.c +++ b/musl-imported/src/termios/tcsetattr.c @@ -1,3 +1,27 @@ +/* SPDX-License-Identifier: MIT */ +/* ---------------------------------------------------------------------- + * Copyright © 2005-2014 Rich Felker, et al. + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * ---------------------------------------------------------------------- + */ #include <termios.h> #include <sys/ioctl.h> #include <errno.h> -- 2.20.1 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |