Commit 4be630a3 authored by Alessandro Rubini's avatar Alessandro Rubini Committed by Adam Wujek

cleanup: msg.c: all pack return int, for consistency.

Also, two functions that were needlessly public are now static.
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <>
parent ed3107cb
......@@ -354,12 +354,7 @@ extern void msg_unpack_delay_resp(void *buf, MsgDelayResp *resp);
extern void msg_unpack_pdelay_resp_follow_up(void *buf,
MsgPDelayRespFollowUp *
extern void msg_pack_pdelay_resp_follow_up(struct pp_instance *ppi,
MsgHeader * hdr,
Timestamp * prec_orig_tstamp);
extern void msg_unpack_pdelay_resp(void *buf, MsgPDelayResp * presp);
extern void msg_pack_pdelay_resp(struct pp_instance *ppi,
MsgHeader * hdr, Timestamp * rcv_tstamp);
extern void msg_unpack_pdelay_req(void *buf, MsgPDelayReq * pdelay_req);
/* each of them returns 0 if ok, -1 in case of error in send, 1 if stamp err */
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment