Skip to content

Commit

Permalink
ruleset: split big compilation unit
Browse files Browse the repository at this point in the history
Signed-off-by: He Xian <hexian000@outlook.com>
  • Loading branch information
hexian000 committed Oct 25, 2024
1 parent 4323edb commit 78d74ea
Show file tree
Hide file tree
Showing 14 changed files with 608 additions and 581 deletions.
2 changes: 1 addition & 1 deletion ruleset.lua
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,5 @@ local function main(...)
})
end

logf("ruleset loaded, interpreter: %s", _VERSION)
evlogf("ruleset loaded, interpreter: %s", _VERSION)
return main(...)
2 changes: 1 addition & 1 deletion ruleset_simple.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,5 @@ local function main(...)
return _G.libruleset
end

logf("ruleset loaded, interpreter: %s", _VERSION)
evlogf("ruleset loaded, interpreter: %s", _VERSION)
return main(...)
2 changes: 0 additions & 2 deletions src/api_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
#ifndef API_CLIENT_H
#define API_CLIENT_H

#include "util.h"

#include <stdbool.h>
#include <stddef.h>

Expand Down
4 changes: 2 additions & 2 deletions src/codec.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
#ifndef CODEC_H
#define CODEC_H

#include "io/stream.h"

#include <stddef.h>

struct stream;

/* RFC 1950 */
struct stream *codec_zlib_writer(struct stream *base);
struct stream *codec_zlib_reader(struct stream *base);
Expand Down
Loading

0 comments on commit 78d74ea

Please sign in to comment.