Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
b2d0a400
Commit
b2d0a400
authored
Dec 30, 2011
by
Aurelio Colosimo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
return type of msg_copy_header set to void *
fixes a warning on return type
parent
be9a05d9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
pproto.h
include/pproto/pproto.h
+1
-1
msg.c
proto-standard/msg.c
+1
-1
No files found.
include/pproto/pproto.h
View file @
b2d0a400
...
@@ -213,7 +213,7 @@ extern UInteger8 bmc(struct pp_frgn_master *frgn_master,
...
@@ -213,7 +213,7 @@ extern UInteger8 bmc(struct pp_frgn_master *frgn_master,
/* msg.c */
/* msg.c */
extern
void
msg_pack_header
(
void
*
buf
,
struct
pp_instance
*
ppi
);
extern
void
msg_pack_header
(
void
*
buf
,
struct
pp_instance
*
ppi
);
extern
void
msg_unpack_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
,
extern
void
msg_pack_sync
(
void
*
buf
,
Timestamp
*
orig_tstamp
,
struct
pp_instance
*
ppi
);
struct
pp_instance
*
ppi
);
extern
void
msg_unpack_sync
(
void
*
buf
,
MsgSync
*
sync
);
extern
void
msg_unpack_sync
(
void
*
buf
,
MsgSync
*
sync
);
...
...
proto-standard/msg.c
View file @
b2d0a400
...
@@ -80,7 +80,7 @@ void msg_pack_header(void *buf, struct pp_instance *ppi)
...
@@ -80,7 +80,7 @@ void msg_pack_header(void *buf, struct pp_instance *ppi)
/* Default value(spec Table 24) */
/* 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
));
return
pp_memcpy
(
dest
,
src
,
sizeof
(
MsgHeader
));
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment