]> granicus.if.org Git - yasm/commitdiff
Protect yasm_bc_new_common() by YASM_INTERNAL ifdef as it uses
authorPeter Johnson <peter@tortall.net>
Sun, 30 Mar 2003 23:22:50 +0000 (23:22 -0000)
committerPeter Johnson <peter@tortall.net>
Sun, 30 Mar 2003 23:22:50 +0000 (23:22 -0000)
yasm_bytecode_type which is only defined under YASM_INTERNAL.

svn path=/trunk/yasm/; revision=901

libyasm/bytecode.h

index 30570221c7c6ac685ae4451f5b62aa38f75dfc54..cc873a42eaa4dd97a3cd3c402466b76872efa2de 100644 (file)
@@ -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);