Skip to content

Commit 1e6a39f

Browse files
committed
Removed unecessary inet_*.c files, added license
1 parent 50b03d9 commit 1e6a39f

File tree

5 files changed

+4
-624
lines changed

5 files changed

+4
-624
lines changed

newlib/libc/sys/hermit/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ AM_CCASFLAGS = $(INCLUDES)
44

55
noinst_LIBRARIES = lib.a
66

7-
lib_a_SOURCES = chown.c clock_getres.c clock_gettime.c clock_nanosleep.c clock_settime.c close.c environ.c errno.c execve.c _exit.c fork.c fstat.c getpagesize.c getpid.c gettod.c isatty.c kill.c link.c lseek.c nanosleep.c open.c read.c readlink.c sbrk.c sched.c setitimer.c signal.c stat.c symlink.c sysconf.c times.c unlink.c wait.c write.c context.S makecontext.c inet_addr.c inet_ntoa.c inet_ntop.c inet_pton.c
7+
lib_a_SOURCES = chown.c clock_getres.c clock_gettime.c clock_nanosleep.c clock_settime.c close.c environ.c errno.c execve.c _exit.c fork.c fstat.c getpagesize.c getpid.c gettod.c isatty.c kill.c link.c lseek.c nanosleep.c open.c read.c readlink.c sbrk.c sched.c setitimer.c signal.c stat.c symlink.c sysconf.c times.c unlink.c wait.c write.c context.S makecontext.c inet_ntoa.c
88
lib_a_CCASFLAGS = $(AM_CCASFLAGS)
99
lib_a_CFLAGS = $(AM_CFLAGS)
1010

newlib/libc/sys/hermit/inet_addr.c

Lines changed: 0 additions & 201 deletions
This file was deleted.

newlib/libc/sys/hermit/inet_ntoa.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
License along with the GNU C Library; if not, see
1818
<http://www.gnu.org/licenses/>. */
1919

20+
/* SPDX-License-Identifier: LGPL-2.1-or-later */
21+
/* From https://sourceware.org/git/?p=glibc.git;a=blob;f=inet/inet_ntoa.c;h=341d8591c30b88d4415898d93ae0dcbd7bf4e3d6;hb=46b5e98ef6f1b9f4b53851f152ecb8209064b26c */
22+
2023
#include <stdio.h>
2124
#include <stdlib.h>
2225
#include <arpa/inet.h>

0 commit comments

Comments
 (0)