summaryrefslogtreecommitdiff
path: root/trafgen_proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'trafgen_proto.c')
-rw-r--r--trafgen_proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trafgen_proto.c b/trafgen_proto.c
index c6b9e2e..efa8fce 100644
--- a/trafgen_proto.c
+++ b/trafgen_proto.c
@@ -31,7 +31,7 @@ static size_t headers_count;
static struct proto_hdr *registered;
-struct proto_hdr *proto_current_header(void)
+static inline struct proto_hdr *proto_current_header(void)
{
if (headers_count > 0)
return headers[headers_count - 1];