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
9c106c24
Commit
9c106c24
authored
Feb 12, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ptpd-wrappers: added prototypes for freestanding build
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
474aa0b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
ptpd-wrappers.h
libposix/ptpd-wrappers.h
+8
-0
No files found.
libposix/ptpd-wrappers.h
View file @
9c106c24
...
...
@@ -57,6 +57,14 @@ static inline void ptpd_handle_wripc() {}
//#define sprintf(buf, ...) msprintf(buf, __VA_ARGS__)
//#define DBG(x, ...) mprintf(x, ##__VA_ARGS__)
/* The following prototypes are for functions defined in wrpc-sw */
int
mprintf
(
char
const
*
format
,
...)
__attribute__
((
format
(
printf
,
1
,
2
)));
void
get_mac_addr
(
uint8_t
dev_addr
[]);
void
wr_servo_reset
(
void
);
void
spll_enable_ptracker
(
int
ref_channel
,
int
enable
);
#endif
/* hosted */
...
...
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