comparison lwlib/lw_expr.h @ 392:4c5d3b990a3f

Remove duplicate typedef in lw_expr.h Remove duplicate lw_expr_testfn_t typedef. It's pointless to do that and generates warnings from some compilers.
author William Astle <lost@l-w.ca>
date Tue, 14 Jul 2015 23:01:57 -0600
parents 67373a053c49
children 6153cb49403c
comparison
equal deleted inserted replaced
391:15d1628180e7 392:4c5d3b990a3f
96 void *lw_expr_specptr(lw_expr_t e); 96 void *lw_expr_specptr(lw_expr_t e);
97 int lw_expr_whichop(lw_expr_t e); 97 int lw_expr_whichop(lw_expr_t e);
98 98
99 int lw_expr_type(lw_expr_t e); 99 int lw_expr_type(lw_expr_t e);
100 100
101 typedef int lw_expr_testfn_t(lw_expr_t e, void *priv);
102
103 int lw_expr_operandcount(lw_expr_t e); 101 int lw_expr_operandcount(lw_expr_t e);
104 102
105 void lw_expr_setwidth(int w); 103 void lw_expr_setwidth(int w);
106 104
107 // run a function on all terms in an expression; if the function 105 // run a function on all terms in an expression; if the function