diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2018-11-18 07:16:13 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2018-11-18 07:36:35 +0200 |
commit | f45ea151b7a5b184ed761d63fb15c3a962278ead (patch) | |
tree | 1a1244930e44b8888d8ac65c01f402c93ab7d498 | |
parent | 913589a5c9c2f1451e0bb04cc0d8ad2ecbf7fd8d (diff) |
move libc-sha1.h to libc-sha1.c
-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 |