Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-compiler-and-rts
compiler
Commits
8ff09d11
Commit
8ff09d11
authored
Jul 16, 2019
by
johnvg@science.ru.nl
Browse files
remove unused function DoError from backend
parent
9953141b
Changes
4
Hide whitespace changes
Inline
Side-by-side
backendC/CleanCompilerSources/mac_io.c
View file @
8ff09d11
...
...
@@ -847,16 +847,6 @@ int FPutS (char *s, File f)
{
return
fputs
(
s
,
(
FILE
*
)
f
);
}
/* FPutS */
void
DoError
(
char
*
fmt
,
...)
{
va_list
args
;
va_start
(
args
,
fmt
);
(
void
)
vfprintf
(
stderr
,
fmt
,
args
);
va_end
(
args
);
}
void
DoFatalError
(
char
*
fmt
,
...)
{
va_list
args
;
...
...
backendC/CleanCompilerSources/system.h
View file @
8ff09d11
...
...
@@ -48,11 +48,9 @@ extern int FPrintF (); /* (File w, char *fmt,...) */
#endif
#ifdef _VARARGS_
extern
void
DoError
(
char
*
fmt
,...);
extern
void
DoFatalError
(
char
*
fmt
,...);
extern
void
CmdError
(
char
*
errormsg
,...);
#else
extern
void
DoError
();
extern
void
DoFatalError
();
extern
void
CmdError
();
#endif
...
...
backendC/CleanCompilerSources/unix_io.c
View file @
8ff09d11
...
...
@@ -56,16 +56,6 @@ int FPutS (char *s, File f)
}
/* FPutS */
/* Error Handling */
void
DoError
(
char
*
fmt
,
...)
{
va_list
args
;
va_start
(
args
,
fmt
);
(
void
)
vfprintf
(
StdError
,
fmt
,
args
);
va_end
(
args
);
}
void
DoFatalError
(
char
*
fmt
,
...)
{
va_list
args
;
...
...
backendC/CleanCompilerSources/windows_io.c
View file @
8ff09d11
...
...
@@ -52,17 +52,6 @@ int FPutS (char *s, File f)
return
fputs
(
s
,
(
FILE
*
)
f
);
}
void
DoError
(
char
*
fmt
,
...)
{
va_list
args
;
va_start
(
args
,
fmt
);
(
void
)
vfprintf
(
stderr
,
fmt
,
args
);
va_end
(
args
);
}
void
DoFatalError
(
char
*
fmt
,
...)
{
va_list
args
;
...
...
Write
Preview
Supports
Markdown
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