summaryrefslogtreecommitdiff
path: root/trafgen_parser.y
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2016-01-26 22:24:57 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-01-28 13:54:33 +0100
commitfd8fc6f33688135b79022716727b06d78ee87fdc (patch)
tree8aeda7b85ecd33cbbd1bc988f75e270fdc8eba89 /trafgen_parser.y
parentc5bd0062b3e6b6456512d223b84e8e82aa6aa1c9 (diff)
trafgen: Export set_fill func
Make public set_fill func to be used by proto generation code. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'trafgen_parser.y')
-rw-r--r--trafgen_parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/trafgen_parser.y b/trafgen_parser.y
index 79a8439..49ee577 100644
--- a/trafgen_parser.y
+++ b/trafgen_parser.y
@@ -157,7 +157,7 @@ static void set_multi_byte(uint8_t *s, size_t len)
set_byte(s[i]);
}
-static void set_fill(uint8_t val, size_t len)
+void set_fill(uint8_t val, size_t len)
{
size_t i;
struct packet *pkt = &packets[packet_last];