Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
31
Issues
31
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
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
Software for White Rabbit PTP Core
Commits
ff1ba052
Commit
ff1ba052
authored
Oct 20, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: add __attribute__((format(printf))) to mprintf
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
14a84cc7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
uart.h
include/uart.h
+2
-1
No files found.
include/uart.h
View file @
ff1ba052
#ifndef __UART_H
#define __UART_H
int
mprintf
(
char
const
*
format
,
...);
int
mprintf
(
char
const
*
format
,
...)
__attribute__
((
format
(
printf
,
1
,
2
)));
void
uart_init
();
void
uart_write_byte
(
int
b
);
...
...
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