Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LSH
lsh
Commits
df11f559
Commit
df11f559
authored
Dec 14, 1998
by
J.H.M. Dassen
Committed by
Niels Möller
Dec 14, 1998
Browse files
Options
Downloads
Patches
Plain Diff
Signedness and constness fixes (jdassen@wi.leidenuniv.nl)
Rev: src/werror.c:1.14
parent
835423bd
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/werror.c
+6
-6
6 additions, 6 deletions
src/werror.c
with
6 additions
and
6 deletions
src/werror.c
+
6
−
6
View file @
df11f559
...
@@ -36,7 +36,7 @@ int debug_flag = 0;
...
@@ -36,7 +36,7 @@ int debug_flag = 0;
int
quiet_flag
=
0
;
int
quiet_flag
=
0
;
int
verbose_flag
=
0
;
int
verbose_flag
=
0
;
void
werror
(
char
*
format
,
...)
void
werror
(
CONST
char
*
format
,
...)
{
{
va_list
args
;
va_list
args
;
...
@@ -48,7 +48,7 @@ void werror(char *format, ...)
...
@@ -48,7 +48,7 @@ void werror(char *format, ...)
}
}
}
}
void
debug
(
char
*
format
,
...)
void
debug
(
CONST
char
*
format
,
...)
{
{
va_list
args
;
va_list
args
;
...
@@ -60,7 +60,7 @@ void debug(char *format, ...)
...
@@ -60,7 +60,7 @@ void debug(char *format, ...)
}
}
}
}
void
verbose
(
char
*
format
,
...)
void
verbose
(
CONST
char
*
format
,
...)
{
{
va_list
args
;
va_list
args
;
...
@@ -98,7 +98,7 @@ static void wash_char(UINT8 c)
...
@@ -98,7 +98,7 @@ static void wash_char(UINT8 c)
/* Escape non-printable characters. */
/* Escape non-printable characters. */
static
void
write_washed
(
UINT32
length
,
UINT8
*
msg
)
static
void
write_washed
(
UINT32
length
,
UINT8
*
msg
)
{
{
int
i
;
UINT32
i
;
for
(
i
=
0
;
i
<
length
;
i
++
)
for
(
i
=
0
;
i
<
length
;
i
++
)
wash_char
(
msg
[
i
]);
wash_char
(
msg
[
i
]);
...
@@ -195,7 +195,7 @@ void verbose_mpz(mpz_t n)
...
@@ -195,7 +195,7 @@ void verbose_mpz(mpz_t n)
/* hex dumps */
/* hex dumps */
static
void
write_hex
(
UINT32
length
,
UINT8
*
data
)
static
void
write_hex
(
UINT32
length
,
UINT8
*
data
)
{
{
int
i
;
UINT32
i
;
fprintf
(
stderr
,
"(size %d = 0x%x)"
,
fprintf
(
stderr
,
"(size %d = 0x%x)"
,
length
,
length
);
length
,
length
);
...
@@ -228,7 +228,7 @@ void verbose_hex(UINT32 length, UINT8 *data)
...
@@ -228,7 +228,7 @@ void verbose_hex(UINT32 length, UINT8 *data)
write_hex
(
length
,
data
);
write_hex
(
length
,
data
);
}
}
void
fatal
(
char
*
format
,
...)
void
fatal
(
CONST
char
*
format
,
...)
{
{
va_list
args
;
va_list
args
;
...
...
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