X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=builtins.h;h=b903d9671d10c2ff5104eae7c29a9f4e5bf9297b;hb=8e0cc9a1b4204fde79cca81b23fa8d932717de7f;hp=6bc4139292b5909e4ddf8f9a0e20d4519fa0c424;hpb=1a47a352dc074585e56b11a6e1e693e8ece6b5be;p=cparser diff --git a/builtins.h b/builtins.h index 6bc4139..b903d96 100644 --- a/builtins.h +++ b/builtins.h @@ -47,4 +47,13 @@ void create_gnu_builtins(void); */ void create_microsoft_intrinsics(void); +/** + * Some functions like setjmp,longjmp are known from libc and need special + * attributes like noreturn or returns_twice. + * (Adding __attribute__(())s in the libc headers would be enough but apparently + * this is not done in most cases since people rely on a list of hardcoded + * names in gcc, so we have to duplicate this here) + */ +void adapt_special_functions(function_t *function); + #endif