scanner: Only output each forward declaration once
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 3 Apr 2014 22:57:54 +0000 (15:57 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 3 Apr 2014 22:58:06 +0000 (15:58 -0700)
commitc1aa1291a10eb63b41df27ecc53569e194f128d1
tree706673c7def44f99a214de7012035f57be54d3e2
parent00703ad2bc9a69f068b0eee3fdcea7432b130bef
scanner: Only output each forward declaration once

Just sort the types and only print unique type names.  We avoid using
the GCC pragma.
src/scanner.c