]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/expop.h
Replace symbol_objfile with symbol::objfile
[thirdparty/binutils-gdb.git] / gdb / expop.h
index a17311f74e5df92c048d4659edf9d8e91829830d..cfe96cbe589d8172fa1a972c05d911e3d2ec5978 100644 (file)
@@ -225,7 +225,7 @@ check_objfile (struct type *type, struct objfile *objfile)
 static inline bool
 check_objfile (struct symbol *sym, struct objfile *objfile)
 {
-  return check_objfile (symbol_objfile (sym), objfile);
+  return check_objfile (sym->objfile (), objfile);
 }
 
 static inline bool