diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-07-14 22:29:12 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-08-05 19:15:52 +0200 |
commit | 2b9837e2f687356f9de307ae3d41762503baf8f0 (patch) | |
tree | 0a6d1493a515b97bd8b3e8fd6a757ddfeca1526f | |
parent | 2151e7a808fd9c1e1a05d3cea493d1b568dd411c (diff) |
Work around missing declarations of functions
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | check_kernel.c | 1 | ||||
-rw-r--r-- | main.c | 2 |
3 files changed, 4 insertions, 1 deletions
@@ -8,7 +8,7 @@ TARGET = netdde SRC_C = main.c machdev.c check_kernel.c LIBS += $(libmachdevdde_path) $(libmachdev_path) -ldde_linux26.o -ldde_linux26_net $(libddekit_path) -ltrivfs -lpciaccess -lz -lshouldbeinlibc -lports -liohelp -lfshelp -lihash -lpthread $(libslab_path) $(libbpf_path) -CFLAGS += -g -I$(PKGDIR)/include -I$(BUILDDIR)/include +CFLAGS += -Wno-error=implicit-function-declaration -g -I$(PKGDIR)/include -I$(BUILDDIR)/include LDFLAGS += -g CFLAGS += -DCONFIG_B44_PCI -DCONFIG_8139TOO_8129 diff --git a/check_kernel.c b/check_kernel.c index 6a285231e..c4af7865d 100644 --- a/check_kernel.c +++ b/check_kernel.c @@ -22,6 +22,7 @@ #include <stdio.h> #include <stdlib.h> #include <unistd.h> +#include <error.h> #include <hurd.h> #include <mach.h> @@ -6,6 +6,8 @@ #include <linux/init.h> // initcall() #include <linux/delay.h> // msleep() +extern void pthread_exit(void *retval); + #include "machdev.h" #include "check_kernel.h" |