mapi: drop unneeded gl_dispatch_stub declarations
These declarations are not used anywhere - be that generated code or otherwise. [Emil: format the hunk from Erik into a patch] Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
committed by
Emil Velikov
parent
ca152234e1
commit
6148cce388
@@ -334,7 +334,8 @@ class ABIPrinter(object):
|
||||
if not self.need_entry_point(ent):
|
||||
continue
|
||||
export = self.api_call if not ent.hidden else ''
|
||||
decls.append(self._c_decl(ent, prefix, True, export) + ';')
|
||||
if not ent.hidden:
|
||||
decls.append(self._c_decl(ent, prefix, True, export) + ';')
|
||||
|
||||
return "\n".join(decls)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user