Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FlightOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Armin Luntzer
FlightOS
Commits
eacdcbad
Commit
eacdcbad
authored
Apr 6, 2017
by
Armin Luntzer
Browse files
Options
Downloads
Patches
Plain Diff
rename x_printf to printk for more convenience
parent
1ab963b7
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
dsp/xentium/include/xen_printf.h
+1
-1
1 addition, 1 deletion
dsp/xentium/include/xen_printf.h
dsp/xentium/lib/xen_printf.c
+3
-1
3 additions, 1 deletion
dsp/xentium/lib/xen_printf.c
with
4 additions
and
2 deletions
dsp/xentium/include/xen_printf.h
+
1
−
1
View file @
eacdcbad
...
...
@@ -24,7 +24,7 @@
#define PAD_RIGHT 0x1
#define PAD_ZERO 0x2
int
x_
print
f
(
const
char
*
format
,
...);
int
print
k
(
const
char
*
format
,
...);
int
x_sprintf
(
char
*
str
,
const
char
*
format
,
...);
...
...
This diff is collapsed.
Click to expand it.
dsp/xentium/lib/xen_printf.c
+
3
−
1
View file @
eacdcbad
...
...
@@ -298,7 +298,7 @@ static int print(char **str, const char *format, va_list args )
*
*/
int
x_
print
f
(
const
char
*
format
,
...)
int
print
k
(
const
char
*
format
,
...)
{
va_list
args
;
...
...
@@ -306,6 +306,8 @@ int x_printf(const char *format, ...)
return
print
(
0
,
format
,
args
);
}
/**
* @brief 'man sprintf' (mostly)
*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment