X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Ferrno.h;h=0361b33ad348a2ab1d3422a2399cb2e3ccf0217b;hb=4486c579cbf0d989080705f515d08cb48636ba88;hp=93f5f6ecb6c357816ad0a31e209df751de09e881;hpb=a603a75a72bb469c6be4963ed1b55fabe675fe15;p=musl diff --git a/include/errno.h b/include/errno.h index 93f5f6ec..0361b33a 100644 --- a/include/errno.h +++ b/include/errno.h @@ -9,6 +9,9 @@ extern "C" { #include +#ifdef __GNUC__ +__attribute__((const)) +#endif int *__errno_location(void); #define errno (*__errno_location())