Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
EDuke32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
92
Issues
92
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Richard Gobeille
EDuke32
Commits
1103059e
Commit
1103059e
authored
Dec 12, 2020
by
Evan Ramos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix mismatch of initprintf and initputs signatures in compat_tools object
parent
b89e16fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
source/tools/src/compat_tools.cpp
source/tools/src/compat_tools.cpp
+5
-3
No files found.
source/tools/src/compat_tools.cpp
View file @
1103059e
...
...
@@ -9,17 +9,19 @@ extern "C" {
//
// initprintf() -- prints a string
//
void
initprintf
(
const
char
*
f
,
...)
int
initprintf
(
const
char
*
f
,
...)
{
va_list
va
;
char
buf
[
2048
];
va_start
(
va
,
f
);
Bvsnprintf
(
buf
,
sizeof
(
buf
),
f
,
va
);
int
len
=
Bvsnprintf
(
buf
,
sizeof
(
buf
),
f
,
va
);
va_end
(
va
);
return
len
;
}
int
initputs
(
const
char
*
str
)
{
return
puts
(
str
);
}
void
initputs
(
const
char
*
str
)
{
puts
(
str
);
}
int16_t
editstatus
=
1
;
...
...
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