diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/libc-sha1.c (renamed from src/libc-sha1.h) | 2 | ||||
-rw-r--r-- | src/libc.c | 2 |
3 files changed, 1 insertions, 5 deletions
@@ -37,7 +37,7 @@ runtime/libc.so: private override CPPFLAGS += -D_GNU_SOURCE runtime/libc.so: private override LDFLAGS += -Wl,-wrap,_IO_file_xsputn runtime/libc.so: private override CFLAGS += -Wno-deprecated-declarations runtime/libc.so: private override LDLIBS += `pkg-config --libs libbsd libunwind` -runtime/libc.so: verbose src/libc.c src/libc-stdio.c +runtime/libc.so: verbose src/libc.c src/libc-stdio.c src/libc-sha1.c runtime/libpthread.so: private override CPPFLAGS += -D_GNU_SOURCE runtime/libpthread.so: private override LDLIBS += -lpthread runtime/libpthread.so: src/libpthread.c diff --git a/src/libc-sha1.h b/src/libc-sha1.c index 43b562a..b455c16 100644 --- a/src/libc-sha1.h +++ b/src/libc-sha1.c @@ -1,5 +1,3 @@ -#pragma once - /* SHA-1 in C By Steve Reid <steve@edmweb.com> @@ -83,8 +83,6 @@ tkill(int tid, int sig) return syscall(SYS_tkill, tid, sig); } -#include "libc-sha1.h" - // Stuff needed for runtime compatibility, but not neccessary for linking // Also stuff that exists in glibc, but needs to be wrapped for runtime compatibility |