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
3a4b92d2
Commit
3a4b92d2
authored
20 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Using #pragma to eliminate bcc warnings.
parent
102068b9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/conio/ansi_cio.c
+12
-4
12 additions, 4 deletions
src/conio/ansi_cio.c
with
12 additions
and
4 deletions
src/conio/ansi_cio.c
+
12
−
4
View file @
3a4b92d2
...
...
@@ -298,6 +298,9 @@ void ansi_textattr(int attr)
ansi_sendstr
(
str
,
-
1
);
}
#if defined(__BORLANDC__)
#pragma argsused
#endif
static
void
ansi_keyparse
(
void
*
par
)
{
int
gotesc
=
0
;
...
...
@@ -307,7 +310,6 @@ static void ansi_keyparse(void *par)
int
i
;
char
*
p
;
if
(
par
);
/* Shut up BCC */
for
(;;)
{
while
(
!
ansi_raw_inch
&&
(
gotesc
||
(
!
gotesc
&&
!
seq
[
0
])))
{
...
...
@@ -375,11 +377,13 @@ static void ansi_keyparse(void *par)
}
}
#if defined(__BORLANDC__)
#pragma argsused
#endif
static
void
ansi_keythread
(
void
*
params
)
{
_beginthread
(
ansi_keyparse
,
1024
,
NULL
);
if
(
params
);
/* Shut up BCC */
for
(;;)
{
if
(
!
ansi_raw_inch
)
ansi_raw_inch
=
fgetc
(
stdin
);
...
...
@@ -597,9 +601,11 @@ int ansi_beep(void)
return
(
0
);
}
#if defined(__BORLANDC__)
#pragma argsused
#endif
void
ansi_textmode
(
int
mode
)
{
if
(
mode
);
/* Shut up BCC */
}
#ifdef __unix__
...
...
@@ -609,6 +615,9 @@ void ansi_fixterm(void)
}
#endif
#if defined(__BORLANDC__)
#pragma argsused
#endif
int
ansi_initciolib
(
long
inmode
)
{
int
i
;
...
...
@@ -635,6 +644,5 @@ int ansi_initciolib(long inmode)
for
(
i
=
0
;
i
<
ansi_rows
*
ansi_cols
;
i
++
)
vmem
[
i
]
=
0x0720
;
_beginthread
(
ansi_keythread
,
1024
,
NULL
);
if
(
inmode
);
/* Shut up BCC */
return
(
1
);
}
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