Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
fb6e80f3
Commit
fb6e80f3
authored
13 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
Const-ify od_printf() argument
parent
a76dfa58
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
src/odoors/ODPrntf.c
+1
-1
1 addition, 1 deletion
src/odoors/ODPrntf.c
src/odoors/OpenDoor.h
+1
-1
1 addition, 1 deletion
src/odoors/OpenDoor.h
with
2 additions
and
2 deletions
src/odoors/ODPrntf.c
+
1
−
1
View file @
fb6e80f3
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
*
*
* Return: void
* Return: void
*/
*/
ODAPIDEF
void
ODVCALL
od_printf
(
char
*
pszFormat
,...)
ODAPIDEF
void
ODVCALL
od_printf
(
const
char
*
pszFormat
,...)
{
{
va_list
pArgumentList
;
va_list
pArgumentList
;
static
char
*
pszWorkBuffer
=
NULL
;
static
char
*
pszWorkBuffer
=
NULL
;
...
...
This diff is collapsed.
Click to expand it.
src/odoors/OpenDoor.h
+
1
−
1
View file @
fb6e80f3
...
@@ -996,7 +996,7 @@ ODAPIDEF void ODCALL od_parse_cmd_line(INT nArgCount,
...
@@ -996,7 +996,7 @@ ODAPIDEF void ODCALL od_parse_cmd_line(INT nArgCount,
#endif
/* !ODPLAT_WIN32 */
#endif
/* !ODPLAT_WIN32 */
ODAPIDEF
INT
ODCALL
od_popup_menu
(
char
*
pszTitle
,
char
*
pszText
,
ODAPIDEF
INT
ODCALL
od_popup_menu
(
char
*
pszTitle
,
char
*
pszText
,
INT
nLeft
,
INT
nTop
,
INT
nLevel
,
WORD
uFlags
);
INT
nLeft
,
INT
nTop
,
INT
nLevel
,
WORD
uFlags
);
ODAPIDEF
void
ODVCALL
od_printf
(
char
*
pszFormat
,
...);
ODAPIDEF
void
ODVCALL
od_printf
(
const
char
*
pszFormat
,
...);
ODAPIDEF
void
ODCALL
od_putch
(
char
chToDisplay
);
ODAPIDEF
void
ODCALL
od_putch
(
char
chToDisplay
);
ODAPIDEF
BOOL
ODCALL
od_puttext
(
INT
nLeft
,
INT
nTop
,
INT
nRight
,
ODAPIDEF
BOOL
ODCALL
od_puttext
(
INT
nLeft
,
INT
nTop
,
INT
nRight
,
INT
nBottom
,
void
*
pBlock
);
INT
nBottom
,
void
*
pBlock
);
...
...
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