It is only used in util-print.c.
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);
/*
* Convert a token value to a string; use "fmt" if not found.
*/
-const char *
+static const char *
tok2strbuf(const struct tok *lp, const char *fmt,
u_int v, char *buf, size_t bufsize)
{