diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-02-03 11:25:32 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-02-03 11:25:32 +0100 |
commit | 83c1bb0a8271338c57ab1c7d9d9bc3e53aafb314 (patch) | |
tree | 76d45c25cd953fadaed072847d953a9851d8f64f /trafgen_proto.h | |
parent | 686338ed02f66341daf508b2255f3dc1d5315f6d (diff) |
trafgen: proto: Make proto_current_header() static
After commit 88b359d2aa7e ("trafgen: proto: Simplify getting lower
protocol after init") proto_current_header() is no longer used outside
trafgen_proto.c, so make it static.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'trafgen_proto.h')
-rw-r--r-- | trafgen_proto.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/trafgen_proto.h b/trafgen_proto.h index 996c24e..10ded79 100644 --- a/trafgen_proto.h +++ b/trafgen_proto.h @@ -64,7 +64,6 @@ extern void proto_packet_finish(void); extern struct proto_hdr *proto_lower_default_add(struct proto_hdr *hdr, enum proto_id pid); -extern struct proto_hdr *proto_current_header(void); extern struct proto_hdr *proto_lower_header(struct proto_hdr *hdr); extern uint8_t *proto_header_ptr(struct proto_hdr *hdr); |