remove now-obsolete function

This commit is contained in:
Enno Rehling 2012-05-14 14:16:56 -07:00
parent 53bc4eee11
commit 3a8f682bea
2 changed files with 0 additions and 11 deletions

View File

@ -43,16 +43,6 @@ pf_generic get_function(const char *name)
return NULL;
}
const char *get_functionname(pf_generic fun)
{
function_list *fl = functionlist;
while (fl && fl->fun != fun)
fl = fl->next;
if (fl)
return fl->name;
return NULL;
}
void register_function(pf_generic fun, const char *name)
{
function_list *fl = (function_list *) malloc(sizeof(function_list));

View File

@ -24,7 +24,6 @@ extern "C" {
typedef void (*pf_generic) (void);
extern const char *get_functionname(pf_generic fun);
extern pf_generic get_function(const char *name);
extern void register_function(pf_generic fun, const char *name);