summaryrefslogtreecommitdiff
path: root/rsc/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-24 09:48:40 +0200
committerNoel Grandin <noel@peralex.com>2015-03-24 10:31:17 +0200
commit5eeec1363ec4bc86f4d9c989124c1659cb8d3417 (patch)
tree4dd1cd45a4d3a622fa9e96913657de3cf0b95cb0 /rsc/source
parent2754e16702b45362c3291b65af028f9c648894dc (diff)
loplugin:constantfunction: rsc
Change-Id: I574bac6b25c9f36ff3d545420ea49d99a9c79b05
Diffstat (limited to 'rsc/source')
-rw-r--r--rsc/source/rscpp/cpp.h3
-rw-r--r--rsc/source/rscpp/cpp1.c3
-rw-r--r--rsc/source/rscpp/cpp2.c5
-rw-r--r--rsc/source/rscpp/cpp3.c5
-rw-r--r--rsc/source/rscpp/cpp5.c6
5 files changed, 0 insertions, 22 deletions
diff --git a/rsc/source/rscpp/cpp.h b/rsc/source/rscpp/cpp.h
index c9421412e57a..1f88f7bff819 100644
--- a/rsc/source/rscpp/cpp.h
+++ b/rsc/source/rscpp/cpp.h
@@ -256,10 +256,7 @@ int rscpp_main( int argc, char **argv );
void InitCpp1( void );
-void InitCpp2( void );
-void InitCpp3( void );
void InitCpp4( void );
-void InitCpp5( void );
void InitCpp6( void );
#define HELLO() fprintf( stderr, "[Hello at %s, %d] ", __FILE__, __LINE__ )
diff --git a/rsc/source/rscpp/cpp1.c b/rsc/source/rscpp/cpp1.c
index 795bbab1e152..d8e20f46d96a 100644
--- a/rsc/source/rscpp/cpp1.c
+++ b/rsc/source/rscpp/cpp1.c
@@ -244,10 +244,7 @@ int MAIN(int argc, char** argv)
nRunde++;
InitCpp1();
- InitCpp2();
- InitCpp3();
InitCpp4();
- InitCpp5();
InitCpp6();
initdefines(); /* O.S. specific def's */
diff --git a/rsc/source/rscpp/cpp2.c b/rsc/source/rscpp/cpp2.c
index e38914a75b45..45dd492ff30a 100644
--- a/rsc/source/rscpp/cpp2.c
+++ b/rsc/source/rscpp/cpp2.c
@@ -48,11 +48,6 @@
#endif
-void InitCpp2()
-{
-
-}
-
/*
* Process #control lines. Simple commands are processed inline,
* while complex commands have their own subroutines.
diff --git a/rsc/source/rscpp/cpp3.c b/rsc/source/rscpp/cpp3.c
index 9c4ae2993075..60762d8a188d 100644
--- a/rsc/source/rscpp/cpp3.c
+++ b/rsc/source/rscpp/cpp3.c
@@ -32,11 +32,6 @@
#include <signal.h>
#endif
-void InitCpp3()
-{
-}
-
-
/*
* Open a file, add it to the linked list of open files.
* This is called only from openfile() above.
diff --git a/rsc/source/rscpp/cpp5.c b/rsc/source/rscpp/cpp5.c
index 765f7300ae5a..499219ba6e7f 100644
--- a/rsc/source/rscpp/cpp5.c
+++ b/rsc/source/rscpp/cpp5.c
@@ -180,12 +180,6 @@ SIZES size_table[] = {
{ 0, 0, 0 }, /* End of table */
};
-void InitCpp5()
-{
-
-}
-
-
/*
* Evaluate an expression. Straight-forward operator precedence.
* This is called from control() on encountering an #if statement.