Skip to content

Commit

Permalink
build: correct build file
Browse files Browse the repository at this point in the history
  • Loading branch information
Zxilly committed Dec 19, 2024
1 parent 7e5f1a6 commit 94fa6a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ add_executable(ua2f
src/util.c
src/cache.c
src/handler.c
src/cli.c
src/config.c
src/third/nfqueue-mnl.c)

Expand Down Expand Up @@ -150,7 +151,6 @@ if (UA2F_BUILD_TESTS)
test/cache_test.cc
src/util.c
src/cache.c
src/cli.c
)
target_link_libraries(
ua2f_test
Expand Down
5 changes: 1 addition & 4 deletions src/ua2f.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
#include "cli.h"
#include "handler.h"
#include "statistics.h"
#include "third/nfqueue-mnl.h"
#include "util.h"

#ifdef UA2F_ENABLE_UCI
#include "config.h"
#endif
#include "third/nfqueue-mnl.h"

#include <assert.h>
#include <signal.h>
Expand All @@ -15,8 +14,6 @@
#include <syslog.h>
#include <stdbool.h>

#include "cli.h"

#pragma clang diagnostic push
#pragma ide diagnostic ignored "EndlessLoop"

Expand Down

0 comments on commit 94fa6a6

Please sign in to comment.