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:
Erik Faye-Lund 2018-12-09 21:20:30 +00:00 committed by Emil Velikov
parent ca152234e1
commit 6148cce388

View file

@ -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)