summaryrefslogtreecommitdiff
path: root/libyasm/symrec.h
diff options
context:
space:
mode:
authorPeter Johnson <peter@tortall.net>2007-03-05 08:43:00 +0000
committerPeter Johnson <peter@tortall.net>2007-03-05 08:43:00 +0000
commit415eee49ea2ff224d66ff6e9083f2faaa99d077d (patch)
tree776b97e00ebe4d79249b8d17bcd8ee29ecb589b1 /libyasm/symrec.h
parent4fb65a432b55d5164744102ff1ac2ab15899f199 (diff)
downloadyasm-415eee49ea2ff224d66ff6e9083f2faaa99d077d.tar.gz
Restructure yasm_object as the central clearing house for yasm_objfmt,
yasm_dbgfmt, and yasm_arch. This eliminates a lot of redundant keeping track of this information in the individual object and debug formats and also simplifies a fair amount of code. I'm still not happy with how arch gets passed around in output code, but there may not be much of an alternative there. While I'm here, clean up some unused variables and functions and re-enable the warning for unused variables in configure.ac. svn path=/trunk/yasm/; revision=1812
Diffstat (limited to 'libyasm/symrec.h')
-rw-r--r--libyasm/symrec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libyasm/symrec.h b/libyasm/symrec.h
index 5c3edb37..6cf97559 100644
--- a/libyasm/symrec.h
+++ b/libyasm/symrec.h
@@ -202,13 +202,13 @@ yasm_symrec *yasm_symtab_iter_value(const yasm_symtab_iter *cur);
* used but never defined or declared #YASM_SYM_EXTERN or #YASM_SYM_COMMON.
* \param symtab symbol table
* \param undef_extern if nonzero, all undef syms should be declared extern
- * \param objfmt object format to notify about new extern decls
+ * \param object object to notify about new extern decls
* (may be NULL if undef_extern is 0)
* \param errwarns error/warning set
* \note Errors/warnings are stored into errwarns.
*/
void yasm_symtab_parser_finalize(yasm_symtab *symtab, int undef_extern,
- /*@null@*/ yasm_objfmt *objfmt,
+ /*@null@*/ yasm_object *object,
yasm_errwarns *errwarns);
/** Print the symbol table. For debugging purposes.