Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PTP noposix stack
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
PTP noposix stack
Commits
4864f12f
Commit
4864f12f
authored
Feb 14, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trivial: remove a warning
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
5f59e30a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
freestanding-wrapper.c
libposix/freestanding-wrapper.c
+1
-0
net.c
libposix/net.c
+1
-1
No files found.
libposix/freestanding-wrapper.c
View file @
4864f12f
...
...
@@ -10,6 +10,7 @@
#include "../PTPWRd/ptpd.h"
#include "../PTPWRd/datatypes.h"
#include "wrc_ptp.h"
#include <syscon.h>
int
usleep
(
useconds_t
useconds
)
{
...
...
libposix/net.c
View file @
4864f12f
...
...
@@ -89,7 +89,7 @@ wr_socket_t *ptpd_netif_create_socket(int sock_type, int flags, wr_sockaddr_t *b
memcpy
(
&
sock
->
bind_addr
,
bind_addr
,
sizeof
(
wr_sockaddr_t
));
/*get mac from endpoint*/
get_mac_addr
(
&
sock
->
local_mac
);
get_mac_addr
(
(
uint8_t
*
)
&
sock
->
local_mac
);
sock
->
phase_transition
=
pstate
.
t2_phase_transition
;
sock
->
dmtd_phase
=
pstate
.
phase_val
;
...
...
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