summaryrefslogtreecommitdiff
path: root/rsc/source/rscpp
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-02-21 18:51:58 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-02-21 18:51:58 +0100
commit2868cfdcbaa5d76d854bc55aa8c33621acdb8ad2 (patch)
treee2b2de7e8234619d2ab56acb6e8ce2ccdafcf8d4 /rsc/source/rscpp
parentb83e7b4144a132f34681f7b71619156e997381f0 (diff)
Remove ZTC support
Obsolete Zortech compiler
Diffstat (limited to 'rsc/source/rscpp')
-rw-r--r--rsc/source/rscpp/cpp3.c4
-rw-r--r--rsc/source/rscpp/cpp4.c4
-rw-r--r--rsc/source/rscpp/cpp5.c2
-rw-r--r--rsc/source/rscpp/cpp6.c2
4 files changed, 2 insertions, 10 deletions
diff --git a/rsc/source/rscpp/cpp3.c b/rsc/source/rscpp/cpp3.c
index 04a7e4da3f85..e2e7cdd98535 100644
--- a/rsc/source/rscpp/cpp3.c
+++ b/rsc/source/rscpp/cpp3.c
@@ -170,7 +170,7 @@ void setincdirs()
* verwendete knallte es in strcpy() !
*/
-#if !defined( ZTC ) && !defined( WNT ) && ! defined UNX && ! defined OS2
+#if !defined( WNT ) && ! defined UNX && ! defined OS2
extern char *getenv( char *pStr ); /* BP */
#endif
char *pIncGetEnv = NULL; /* Pointer auf INCLUDE */
@@ -465,7 +465,7 @@ void initdefines()
int i;
time_t tvec;
-#if !defined( ZTC ) && !defined( WNT ) && !defined(G3)
+#if !defined( WNT ) && !defined(G3)
extern char *ctime();
#endif
diff --git a/rsc/source/rscpp/cpp4.c b/rsc/source/rscpp/cpp4.c
index 5a17a101cf0c..f64d69e2e76a 100644
--- a/rsc/source/rscpp/cpp4.c
+++ b/rsc/source/rscpp/cpp4.c
@@ -405,9 +405,7 @@ void expand(DEFBUF* tokenp)
{
register int c;
register FILEINFO *file;
-#ifndef ZTC /* BP */
extern FILEINFO *getfile();
-#endif
#if OSL_DEBUG_LEVEL > 1
if (debug)
@@ -563,9 +561,7 @@ void expstuff(DEFBUF* tokenp)
char *defend; /* -> output buff end */
int string_magic; /* String formal hack */
FILEINFO *file; /* Funny #include */
-#ifndef ZTC /* BP */
extern FILEINFO *getfile();
-#endif
file = getfile(NBUFF, tokenp->name);
inp = tokenp->repl; /* -> macro replacement */
diff --git a/rsc/source/rscpp/cpp5.c b/rsc/source/rscpp/cpp5.c
index afe5a2fe7d3c..9c2cfe68f10b 100644
--- a/rsc/source/rscpp/cpp5.c
+++ b/rsc/source/rscpp/cpp5.c
@@ -236,9 +236,7 @@ eval()
int skip; /* For short-circuit testing */
int value[NEXP]; /* Value stack */
OPTAB opstack[NEXP]; /* Operand stack */
-#ifndef ZTC /* BP */
extern int *evaleval(); /* Does actual evaluation */
-#endif
valp = value;
opp = opstack;
opp->op = OP_END; /* Mark bottom of stack */
diff --git a/rsc/source/rscpp/cpp6.c b/rsc/source/rscpp/cpp6.c
index 1f142051b653..360e3f75b25f 100644
--- a/rsc/source/rscpp/cpp6.c
+++ b/rsc/source/rscpp/cpp6.c
@@ -1030,9 +1030,7 @@ void ungetstring(char* text)
*/
{
register FILEINFO *file;
-#ifndef ZTC /* BP */
extern FILEINFO *getfile();
-#endif
file = getfile(strlen(text) + 1, "");
strcpy(file->buffer, text);
}