Protect yasm_bc_new_common() by YASM_INTERNAL ifdef as it uses

yasm_bytecode_type which is only defined under YASM_INTERNAL.

svn path=/trunk/yasm/; revision=901
0.2
Peter Johnson 22 years ago
parent 22d86befb3
commit e4daeb8d19
  1. 3
      libyasm/bytecode.h

@ -64,9 +64,12 @@ void yasm_ea_print(FILE *f, int indent_level, const yasm_effaddr *ea);
void yasm_bc_set_multiple(yasm_bytecode *bc, /*@keep@*/ yasm_expr *e);
#ifdef YASM_INTERNAL
/*@only@*/ yasm_bytecode *yasm_bc_new_common(yasm_bytecode_type type,
size_t datasize,
unsigned long lindex);
#endif
/*@only@*/ yasm_bytecode *yasm_bc_new_data(yasm_datavalhead *datahead,
unsigned int size,
unsigned long lindex);

Loading…
Cancel
Save