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
47
Issues
47
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
f2eeb7b8
Commit
f2eeb7b8
authored
Jan 06, 2012
by
Alessandro Rubini
Committed by
Aurelio Colosimo
Jan 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
diag: export pp_vprintf, add it to diag-no.c
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
612ae4eb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
diag-no.c
diag/diag-no.c
+3
-0
diag.h
include/pptp/diag.h
+3
-1
No files found.
diag/diag-no.c
View file @
f2eeb7b8
...
@@ -32,3 +32,6 @@ void pp_diag_printf(struct pp_instance *ppi, char *fmt, ...)
...
@@ -32,3 +32,6 @@ void pp_diag_printf(struct pp_instance *ppi, char *fmt, ...)
int
pp_printf
(
const
char
*
fmt
,
...)
int
pp_printf
(
const
char
*
fmt
,
...)
__attribute__
((
weak
,
alias
(
"pp_diag_nop"
)));
__attribute__
((
weak
,
alias
(
"pp_diag_nop"
)));
int
pp_vprintf
(
const
char
*
fmt
,
va_list
args
)
__attribute__
((
weak
,
alias
(
"pp_diag_nop"
)));
include/pptp/diag.h
View file @
f2eeb7b8
...
@@ -23,8 +23,10 @@ extern void pp_diag_printf(struct pp_instance *ppi, char *fmt, ...)
...
@@ -23,8 +23,10 @@ extern void pp_diag_printf(struct pp_instance *ppi, char *fmt, ...)
/* Our printf, that is implemented internally */
/* Our printf, that is implemented internally */
extern
int
pp_printf
(
const
char
*
fmt
,
...)
extern
int
pp_printf
(
const
char
*
fmt
,
...)
__attribute__
((
format
(
printf
,
1
,
2
)));
__attribute__
((
format
(
printf
,
1
,
2
)));
extern
int
pp_vprintf
(
const
char
*
fmt
,
va_list
args
)
__attribute__
((
format
(
printf
,
1
,
0
)));
extern
int
pp_vsprintf
(
char
*
buf
,
const
char
*
,
va_list
)
extern
int
pp_vsprintf
(
char
*
buf
,
const
char
*
,
va_list
)
__attribute__
((
format
(
printf
,
2
,
0
)));
__attribute__
((
format
(
printf
,
2
,
0
)));
#endif
/* __PTP_DIAG_H__ */
#endif
/* __PTP_DIAG_H__ */
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