X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=attribute.c;h=eca3f61d61b9772c2e6d672e3b1374d8f1197c54;hb=979fce13621246b706781035786b5d11a8e2f608;hp=9385333b207912f80f0f40519a9668d62eed4887;hpb=9901ca07efc9af25e27ace2a0bd5885c3ddd6d5e;p=cparser diff --git a/attribute.c b/attribute.c index 9385333..eca3f61 100644 --- a/attribute.c +++ b/attribute.c @@ -310,6 +310,7 @@ void handle_entity_attributes(const attribute_t *attributes, entity_t *entity) case ATTRIBUTE_GNU_UNUSED: modifiers |= DM_UNUSED; break; case ATTRIBUTE_GNU_DLLIMPORT: modifiers |= DM_DLLIMPORT; break; case ATTRIBUTE_GNU_DLLEXPORT: modifiers |= DM_DLLEXPORT; break; + case ATTRIBUTE_GNU_WEAK: modifiers |= DM_WEAK; break; case ATTRIBUTE_MS_ALLOCATE: modifiers |= DM_MALLOC; break; case ATTRIBUTE_MS_DLLIMPORT: modifiers |= DM_DLLIMPORT; break;