Commit b2d0a400 authored by Aurelio Colosimo's avatar Aurelio Colosimo

return type of msg_copy_header set to void *

fixes a warning on return type
parent be9a05d9
......@@ -213,7 +213,7 @@ extern UInteger8 bmc(struct pp_frgn_master *frgn_master,
/* msg.c */
extern void msg_pack_header(void *buf, struct pp_instance *ppi);
extern void msg_unpack_header(void *buf, struct pp_instance *ppi);
int msg_copy_header(MsgHeader *dest, MsgHeader *src);
void *msg_copy_header(MsgHeader *dest, MsgHeader *src);
extern void msg_pack_sync(void *buf, Timestamp *orig_tstamp,
struct pp_instance *ppi);
extern void msg_unpack_sync(void *buf, MsgSync *sync);
......@@ -80,7 +80,7 @@ void msg_pack_header(void *buf, struct pp_instance *ppi)
/* Default value(spec Table 24) */
int msg_copy_header(MsgHeader *dest, MsgHeader *src)
void *msg_copy_header(MsgHeader *dest, MsgHeader *src)
return pp_memcpy(dest,src,sizeof(MsgHeader));
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