mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 23:14:13 +01:00
msgbuf: make msgbuf_unparse_prefix() public
This commit is contained in:
parent
c678fbc08b
commit
33085472a2
2 changed files with 3 additions and 1 deletions
|
@ -68,6 +68,8 @@ int msgbuf_unparse(char *buf, size_t buflen, struct MsgBuf *msgbuf, unsigned int
|
|||
int msgbuf_unparse_fmt(char *buf, size_t buflen, struct MsgBuf *head, unsigned int capmask, const char *fmt, ...) AFP(5, 6);
|
||||
int msgbuf_vunparse_fmt(char *buf, size_t buflen, struct MsgBuf *head, unsigned int capmask, const char *fmt, va_list va);
|
||||
|
||||
void msgbuf_unparse_prefix(char *buf, size_t buflen, struct MsgBuf *msgbuf, unsigned int capmask);
|
||||
|
||||
static inline void
|
||||
msgbuf_init(struct MsgBuf *msgbuf)
|
||||
{
|
||||
|
|
|
@ -142,7 +142,7 @@ msgbuf_unparse_tags(char *buf, size_t buflen, struct MsgBuf *msgbuf, unsigned in
|
|||
rb_strlcat(buf, " ", buflen);
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
msgbuf_unparse_prefix(char *buf, size_t buflen, struct MsgBuf *msgbuf, unsigned int capmask)
|
||||
{
|
||||
int i;
|
||||
|
|
Loading…
Reference in a new issue