xpressn.c, numparam.h: fcn del_attrib with void* argument,
required by nghash_free()
This commit is contained in:
parent
61fefe31bb
commit
b821e7e6cf
|
|
@ -77,4 +77,4 @@ void nupa_subcktexit(tdico *dico);
|
|||
tdico *nupa_fetchinstance(void);
|
||||
char getidtype(tdico *d, char *s);
|
||||
entry *attrib(tdico *d, NGHASHPTR htable, char *t, char op);
|
||||
void del_attrib(entry *);
|
||||
void del_attrib(void *);
|
||||
|
|
|
|||
|
|
@ -445,8 +445,9 @@ attrib(tdico *dico_p, NGHASHPTR htable_p, char *t, char op)
|
|||
*/
|
||||
|
||||
void
|
||||
del_attrib(entry *entry_p)
|
||||
del_attrib(void *e_p)
|
||||
{
|
||||
entry *entry_p = (entry*)e_p;
|
||||
if(entry_p) {
|
||||
tfree(entry_p->symbol);
|
||||
tfree(entry_p);
|
||||
|
|
|
|||
Loading…
Reference in New Issue