summaryrefslogtreecommitdiff
path: root/rsc/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-12-21 14:38:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-12-21 14:38:14 +0100
commit78ddea8eafa2196b7a3f537bc81962f5efa008b4 (patch)
tree7b472a7e39298401d6b5809edd0fa08ebfed800f /rsc/source
parent93dce7329002f3ee19856ac55549c60732766efc (diff)
-Werror,-Wunused-function (clang-cl)
Change-Id: I351067e7274c13d5364ffa1b168910eb1b82af37
Diffstat (limited to 'rsc/source')
-rw-r--r--rsc/source/rscpp/cpp3.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/rsc/source/rscpp/cpp3.c b/rsc/source/rscpp/cpp3.c
index a24812e280de..bd2e2cc262d2 100644
--- a/rsc/source/rscpp/cpp3.c
+++ b/rsc/source/rscpp/cpp3.c
@@ -362,27 +362,6 @@ int readoptions(char* filename, char*** pfargv)
return (back);
}
-#if HOST != SYS_UNIX
-
-/*
- * Dec operating systems mangle upper-lower case in command lines.
- * This routine forces the -D and -U arguments to uppercase.
- * It is called only on cpp startup by dooptions().
- */
-static void zap_uc(char* ap)
-{
- while (*ap != EOS)
- {
- /*
- * Don't use islower() here so it works with Multinational
- */
- if (*ap >= 'a' && *ap <= 'z')
- *ap = (char)toupper(*ap);
- ap++;
- }
-}
-#endif
-
/*
* Initialize the built-in #define's. There are two flavors:
* #define decus 1 (static definitions)