summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-26 10:18:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-27 09:36:53 +0100
commitaa753f01ba4631614bb88ee7d3a3e6b222208b3e (patch)
treec8b168e8e0619c387d30f206848ec30ca7238a00 /rsc
parent2ea2860ba56231d989c5e1b8f87392921bc2a8db (diff)
-Wunused-macros
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
Diffstat (limited to 'rsc')
-rw-r--r--rsc/source/parser/rscyacc.y3
-rw-r--r--rsc/source/rscpp/cpp2.c1
-rw-r--r--rsc/source/rscpp/cpp5.c8
3 files changed, 0 insertions, 12 deletions
diff --git a/rsc/source/parser/rscyacc.y b/rsc/source/parser/rscyacc.y
index 742f58b42581..8373ec602231 100644
--- a/rsc/source/parser/rscyacc.y
+++ b/rsc/source/parser/rscyacc.y
@@ -242,9 +242,6 @@ RSCINST GetFirstTupelEle( const RSCINST & rTop )
//#define YYDEBUG 1
-#define TYPE_Atom 0
-#define TYPE_RESID 1
-
#ifdef UNX
#define YYMAXDEPTH 2000
#else
diff --git a/rsc/source/rscpp/cpp2.c b/rsc/source/rscpp/cpp2.c
index 167983d0c0d1..8da4100c8be7 100644
--- a/rsc/source/rscpp/cpp2.c
+++ b/rsc/source/rscpp/cpp2.c
@@ -53,7 +53,6 @@
#define L_pragma ('p' + ('a' << 1))
#define L_undef ('u' + ('d' << 1))
#define L_error ('e' + ('r' << 1)) /* BP 5.3.92, #error */
-#define MAXLINE 80 /* BP 5.3.92, #error */
#if OSL_DEBUG_LEVEL > 1
#define L_debug ('d' + ('b' << 1)) /* #debug */
#define L_nodebug ('n' + ('d' << 1)) /* #nodebug */
diff --git a/rsc/source/rscpp/cpp5.c b/rsc/source/rscpp/cpp5.c
index e7e78b45d3aa..37b2c115d903 100644
--- a/rsc/source/rscpp/cpp5.c
+++ b/rsc/source/rscpp/cpp5.c
@@ -94,16 +94,8 @@ register int op;
{
return (op >= FIRST_BINOP && op <= LAST_BINOP);
}
-
-FILE_LOCAL int
-isunary(op)
-register int op;
-{
- return (op >= FIRST_UNOP && op <= LAST_UNOP);
-}
#else
#define isbinary(op) (op >= FIRST_BINOP && op <= LAST_BINOP)
-#define isunary(op) (op >= FIRST_UNOP && op <= LAST_UNOP)
#endif
/*