summaryrefslogtreecommitdiff
path: root/netdissect.h
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2022-01-18 11:09:38 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2022-01-18 11:09:52 +0100
commitf5060b06131ac0b7b1876abdef2815bf96e0ce9a (patch)
treeb976450a6e2d7db09d97cede3334054332e43b66 /netdissect.h
parent8310fab73c7f3a6e1682a8c33698d26f27be11ae (diff)
downloadtcpdump-f5060b06131ac0b7b1876abdef2815bf96e0ce9a.tar.gz
Update tok2strbuf() to a static function
It is only used in util-print.c.
Diffstat (limited to 'netdissect.h')
-rw-r--r--netdissect.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/netdissect.h b/netdissect.h
index 89da451e..a10ffa3b 100644
--- a/netdissect.h
+++ b/netdissect.h
@@ -141,9 +141,6 @@ struct tok {
const char *s; /* string */
};
-extern const char *tok2strbuf(const struct tok *, const char *, u_int,
- char *buf, size_t bufsize);
-
/* tok2str is deprecated */
extern const char *tok2str(const struct tok *, const char *, u_int);
extern char *bittok2str(const struct tok *, const char *, u_int);