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
cf0dc06d
Commit
cf0dc06d
authored
13 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
More const goodness.
parent
34f18ba6
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/odoors/ODEmu.c
+1
-1
1 addition, 1 deletion
src/odoors/ODEmu.c
src/odoors/ODMulti.c
+2
-2
2 additions, 2 deletions
src/odoors/ODMulti.c
src/odoors/ODSpawn.c
+1
-1
1 addition, 1 deletion
src/odoors/ODSpawn.c
src/odoors/OpenDoor.h
+4
-4
4 additions, 4 deletions
src/odoors/OpenDoor.h
with
8 additions
and
8 deletions
src/odoors/ODEmu.c
+
1
−
1
View file @
cf0dc06d
...
...
@@ -1001,7 +1001,7 @@ static FILE *ODEmulateFindCompatFile(const char *pszBaseName, INT *pnLevel)
*
* Return: void
*/
ODAPIDEF
void
ODCALL
od_disp_emu
(
char
*
pszToDisplay
,
BOOL
bRemoteEcho
)
ODAPIDEF
void
ODCALL
od_disp_emu
(
const
char
*
pszToDisplay
,
BOOL
bRemoteEcho
)
{
BOOL
bTranslateRemote
;
...
...
This diff is collapsed.
Click to expand it.
src/odoors/ODMulti.c
+
2
−
2
View file @
cf0dc06d
...
...
@@ -108,7 +108,7 @@ ODAPIDEF void ODCALL ODMPSEnable(void)
*
* Return: TRUE on success, or FALSE on failure.
*/
ODAPIDEF
BOOL
ODCALL
od_set_personality
(
char
*
pszName
)
ODAPIDEF
BOOL
ODCALL
od_set_personality
(
const
char
*
pszName
)
{
#ifdef OD_TEXTMODE
BYTE
btNewPersonality
;
...
...
@@ -213,7 +213,7 @@ ODAPIDEF BOOL ODCALL od_set_personality(char *pszName)
*
* Return: TRUE on success or FALSE on failure.
*/
ODAPIDEF
BOOL
ODCALL
od_add_personality
(
char
*
pszName
,
BYTE
btOutputTop
,
ODAPIDEF
BOOL
ODCALL
od_add_personality
(
const
char
*
pszName
,
BYTE
btOutputTop
,
BYTE
btOutputBottom
,
OD_PERSONALITY_PROC
*
pfPerFunc
)
{
/* Log function entry if running in trace mode */
...
...
This diff is collapsed.
Click to expand it.
src/odoors/ODSpawn.c
+
1
−
1
View file @
cf0dc06d
...
...
@@ -172,7 +172,7 @@ int _spawnvpe(int nModeFlag, char *pszPath, char *papszArgs[],
*
* Return: TRUE on success, or FALSE on failure.
*/
ODAPIDEF
BOOL
ODCALL
od_spawn
(
char
*
pszCommandLine
)
ODAPIDEF
BOOL
ODCALL
od_spawn
(
const
char
*
pszCommandLine
)
{
#ifdef ODPLAT_DOS
char
*
apszArgs
[
4
];
...
...
This diff is collapsed.
Click to expand it.
src/odoors/OpenDoor.h
+
4
−
4
View file @
cf0dc06d
...
...
@@ -948,7 +948,7 @@ od_control;
* od_sleep() - Yield to other processes
* od_control_get() - Returns a pointer to the od_control structure.
*/
ODAPIDEF
BOOL
ODCALL
od_add_personality
(
char
*
pszName
,
BYTE
btOutputTop
,
ODAPIDEF
BOOL
ODCALL
od_add_personality
(
const
char
*
pszName
,
BYTE
btOutputTop
,
BYTE
btOutputBottom
,
OD_PERSONALITY_PROC
*
pfPerFunc
);
ODAPIDEF
void
ODCALL
od_autodetect
(
INT
nFlags
);
...
...
@@ -960,7 +960,7 @@ ODAPIDEF void ODCALL od_clr_scr(void);
ODAPIDEF
BYTE
ODCALL
od_color_config
(
char
*
pszColorDesc
);
ODAPIDEF
tODControl
*
ODCALL
od_control_get
(
void
);
ODAPIDEF
void
ODCALL
od_disp
(
char
*
pachBuffer
,
INT
nSize
,
BOOL
bLocalEcho
);
ODAPIDEF
void
ODCALL
od_disp_emu
(
char
*
pszToDisplay
,
BOOL
bRemoteEcho
);
ODAPIDEF
void
ODCALL
od_disp_emu
(
const
char
*
pszToDisplay
,
BOOL
bRemoteEcho
);
ODAPIDEF
void
ODCALL
od_disp_str
(
const
char
*
pszToDisplay
);
ODAPIDEF
BOOL
ODCALL
od_draw_box
(
BYTE
btLeft
,
BYTE
btTop
,
BYTE
btRight
,
BYTE
btBottom
);
...
...
@@ -1011,10 +1011,10 @@ ODAPIDEF void ODCALL od_set_attrib(INT nColour);
ODAPIDEF
void
ODCALL
od_set_color
(
INT
nForeground
,
INT
nBackground
);
ODAPIDEF
void
ODCALL
od_set_cursor
(
INT
nRow
,
INT
nColumn
);
ODAPIDEF
void
ODCALL
od_set_dtr
(
BOOL
bHigh
);
ODAPIDEF
BOOL
ODCALL
od_set_personality
(
char
*
pszName
);
ODAPIDEF
BOOL
ODCALL
od_set_personality
(
const
char
*
pszName
);
ODAPIDEF
void
ODCALL
od_set_statusline
(
INT
nSetting
);
ODAPIDEF
void
ODCALL
od_sleep
(
tODMilliSec
Milliseconds
);
ODAPIDEF
BOOL
ODCALL
od_spawn
(
char
*
pszCommandLine
);
ODAPIDEF
BOOL
ODCALL
od_spawn
(
const
char
*
pszCommandLine
);
ODAPIDEF
INT16
ODCALL
od_spawnvpe
(
INT16
nModeFlag
,
char
*
pszPath
,
char
*
papszArg
[],
char
*
papszEnv
[]);
ODAPIDEF
void
*
ODCALL
od_window_create
(
INT
nLeft
,
INT
nTop
,
INT
nRight
,
...
...
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