* lib/regex_internal.h (__attribute_warn_unused_result__): Define.
2010-01-28 Jim Meyering <meyering@redhat.com>
+ regex_internal.h: define __attribute_warn_unused_result__
+ * lib/regex_internal.h (__attribute_warn_unused_result__): Define.
+
maint: add a syntax-check rule to check for vulnerable Makefile.in
* top/maint.mk (sc_vulnerable_makefile_CVE-2009-4029): New rule.
}
#endif /* RE_ENABLE_I18N */
+#if __GNUC_PREREQ (3,4)
+# undef __attribute_warn_unused_result__
+# define __attribute_warn_unused_result__ \
+ __attribute__ ((__warn_unused_result__))
+#else
+# define __attribute_warn_unused_result__ /* empty */
+#endif
+
#endif /* _REGEX_INTERNAL_H */