summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--preproc.c20
-rw-r--r--preproc.h1
2 files changed, 0 insertions, 21 deletions
diff --git a/preproc.c b/preproc.c
index 78a71a3..0a02f54 100644
--- a/preproc.c
+++ b/preproc.c
@@ -5140,26 +5140,6 @@ void pp_pre_undefine(char *definition)
predef = l;
}
-/*
- * Added by Keith Kanios:
- *
- * This function is used to assist with "runtime" preprocessor
- * directives. (e.g. pp_runtime("%define __BITS__ 64");)
- *
- * ERRORS ARE IGNORED HERE, SO MAKE COMPLETELY SURE THAT YOU
- * PASS A VALID STRING TO THIS FUNCTION!!!!!
- */
-
-void pp_runtime(char *definition)
-{
- Token *def;
-
- def = tokenize(definition);
- if (do_directive(def) == NO_DIRECTIVE_FOUND)
- free_tlist(def);
-
-}
-
void pp_extra_stdmac(macros_t *macros)
{
extrastdmac = macros;
diff --git a/preproc.h b/preproc.h
index e48adda..c89934f 100644
--- a/preproc.h
+++ b/preproc.h
@@ -51,7 +51,6 @@ void pp_include_path(char *);
void pp_pre_include(char *);
void pp_pre_define(char *);
void pp_pre_undefine(char *);
-void pp_runtime(char *);
void pp_extra_stdmac(macros_t *);
#endif