Browse Source

xpressn.c, numparam.h: fcn del_attrib with void* argument,

required by nghash_free()
pre-master-46
h_vogt 13 years ago
committed by rlar
parent
commit
b821e7e6cf
  1. 2
      src/frontend/numparam/numparam.h
  2. 3
      src/frontend/numparam/xpressn.c

2
src/frontend/numparam/numparam.h

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

3
src/frontend/numparam/xpressn.c

@ -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…
Cancel
Save