Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
compiler
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
clean-compiler-and-rts
compiler
Commits
8ff09d11
Commit
8ff09d11
authored
Jul 16, 2019
by
johnvg@science.ru.nl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused function DoError from backend
parent
9953141b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
33 deletions
+0
-33
backendC/CleanCompilerSources/mac_io.c
backendC/CleanCompilerSources/mac_io.c
+0
-10
backendC/CleanCompilerSources/system.h
backendC/CleanCompilerSources/system.h
+0
-2
backendC/CleanCompilerSources/unix_io.c
backendC/CleanCompilerSources/unix_io.c
+0
-10
backendC/CleanCompilerSources/windows_io.c
backendC/CleanCompilerSources/windows_io.c
+0
-11
No files found.
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
Markdown
is supported
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