Revision 9b9a7143 sysdep/unix/main.c

View differences:

sysdep/unix/main.c
96 96
static inline void
97 97
add_num_const(char *name, int val)
98 98
{
99
  struct symbol *s = cf_find_symbol(name);
99
  struct symbol *s = cf_get_symbol(name);
100 100
  s->class = SYM_CONSTANT | T_INT;
101 101
  s->def = cfg_allocz(sizeof(struct f_val));
102 102
  SYM_TYPE(s) = T_INT;

Also available in: Unified diff