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
0c9dc6de
Commit
0c9dc6de
authored
Jun 12, 2012
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libposix/ptpd-wrappers.h: removed compiler warnings, use system sprintf
parent
f10d8004
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ptpd-wrappers.h
libposix/ptpd-wrappers.h
+2
-1
No files found.
libposix/ptpd-wrappers.h
View file @
0c9dc6de
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
#include <stdio.h>
#include <stdio.h>
#include <inttypes.h>
#include <inttypes.h>
#include <unistd.h>
/*
/*
* This is a freestanding compilation, and we may miss some data
* This is a freestanding compilation, and we may miss some data
* structures. For example misses <stdint.h>. Most likely it's
* structures. For example misses <stdint.h>. Most likely it's
...
@@ -55,7 +56,7 @@ static inline void ptpd_handle_wripc() {}
...
@@ -55,7 +56,7 @@ static inline void ptpd_handle_wripc() {}
#define printf(x, ...) mprintf(x, ##__VA_ARGS__)
#define printf(x, ...) mprintf(x, ##__VA_ARGS__)
#define fprintf(file, x, ...) mprintf(x, ##__VA_ARGS__)
#define fprintf(file, x, ...) mprintf(x, ##__VA_ARGS__)
#define sprintf(buf, ...) msprintf(buf, __VA_ARGS__)
//
#define sprintf(buf, ...) msprintf(buf, __VA_ARGS__)
//#define DBG(x, ...) mprintf(x, ##__VA_ARGS__)
//#define DBG(x, ...) mprintf(x, ##__VA_ARGS__)
...
...
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