tccgen: unify type redefinition checks
commit3ae1a2af1c10f9b64631d8e18d948498e14b283d
authorgrischka <grischka>
Sun, 3 Dec 2017 19:43:48 +0000 (3 20:43 +0100)
committerMichael Matz <matz@suse.de>
Tue, 5 Dec 2017 01:06:26 +0000 (5 02:06 +0100)
treea2a98df20537e7e332a565dd2194381751ead89c
parent877e164d6ade4167f9d7f6994ece8e06b5d67060
tccgen: unify type redefinition checks

tccgen.c:
- improved function patch_storage() and added new function
  patch_type() for more consistent type redefinition and
  instance redefinition checks.
tcc.h
tccgen.c