preproc: Drop never used pp_runtime

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2012-05-06 20:49:24 +04:00
parent 194563915d
commit 6094166044
2 changed files with 0 additions and 21 deletions

View File

@ -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;

View File

@ -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