Skip to content

Commit

Permalink
Remove module remains from earlier version
Browse files Browse the repository at this point in the history
  • Loading branch information
blechschmidt committed Dec 27, 2020
1 parent 264ae49 commit 4a1e9c1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ project(massdns)

set(CMAKE_C_STANDARD 11)

set(SOURCE_FILES src/main.c src/module.h src/list.h src/hashmap.h src/massdns.h src/security.h src/net.h src/string.h src/buffers.h src/dns.h
set(SOURCE_FILES src/main.c src/list.h src/hashmap.h src/massdns.h src/security.h src/net.h src/string.h src/buffers.h src/dns.h
src/timed_ring.h src/random.h src/cmd.h src/flow.h)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
add_executable(massdns ${SOURCE_FILES})
7 changes: 0 additions & 7 deletions src/massdns.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#endif

#include "list.h"
#include "module.h"
#include "net.h"
#include "hashmap.h"
#include "dns.h"
Expand Down Expand Up @@ -133,12 +132,6 @@ typedef struct
buffer_t lookup_pool;
Hashmap *resolver_map;

struct
{
massdns_module_t handlers[MAXIMUM_MODULE_COUNT]; // we only support up to 255 modules
size_t count;
} modules;

struct
{
bool sections[4];
Expand Down
10 changes: 0 additions & 10 deletions src/module.h

This file was deleted.

0 comments on commit 4a1e9c1

Please sign in to comment.