Index: generic/nsfInt.h =================================================================== diff -u -rd9344280c05990c0254aa652a08a09da3e5822b1 -r76bdfab614f658464ee9e020d0275868cdd61026 --- generic/nsfInt.h (.../nsfInt.h) (revision d9344280c05990c0254aa652a08a09da3e5822b1) +++ generic/nsfInt.h (.../nsfInt.h) (revision 76bdfab614f658464ee9e020d0275868cdd61026) @@ -76,6 +76,12 @@ # define likely(x) (x) #endif +#if __GNUC_PREREQ(2, 96) +# define pure __attribute__((pure)) +#else +# define pure +#endif + #if __GNUC_PREREQ(3, 3) # define nonnull(ARGS) __attribute__((__nonnull__(ARGS))) #else @@ -88,6 +94,12 @@ # define returns_nonnull #endif +#if __GNUC_PREREQ(4, 9) +# define returns_nonnull __attribute__((returns_nonnull)) +#else +# define returns_nonnull +#endif + /* * Tries to use gcc __attribute__ unused and mangles the name, so the * attribute could not be used, if declared as unused.