From cc0ae5b0b0418ba6cebd7f6b7b45001de15a0c48 Mon Sep 17 00:00:00 2001
From: Alice Frosi <afrosi@redhat.com>
Date: Thu, 19 Jan 2023 16:53:09 +0100
Subject: seitan: separate function in common

Move find_fd_seccomp_notifier to common.c to be reused
in other places.

Signed-off-by: Alice Frosi <afrosi@redhat.com>
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'Makefile')

diff --git a/Makefile b/Makefile
index e3ca02d..5d0ca95 100644
--- a/Makefile
+++ b/Makefile
@@ -24,8 +24,8 @@ bpf_dbg: disasm.c disasm.h bpf_dbg.c
 seitan-eater: eater.c
 	$(CC) $(CFLAGS) -o seitan-eater eater.c
 
-seitan: seitan.c transform.h
-	$(CC) $(CFLAGS) -o seitan seitan.c
+seitan: seitan.c transform.h common.h common.c
+	$(CC) $(CFLAGS) -o seitan seitan.c common.c
 
 numbers.h:
 	./nr_syscalls.sh
-- 
cgit v1.2.3