* lib/modechange.h (mode_adjust): Add _GL_ATTRIBUTE_PURE
suggested with GCC 12 with -flto.
+2023-05-19 Pádraig Brady <P@draigBrady.com>
+
+ modechange: pacify gcc -Wsuggest-attribute=pure
+ * lib/modechange.h (mode_adjust): Add _GL_ATTRIBUTE_PURE
+ suggested with GCC 12 with -flto.
+
2023-05-19 Paul Eggert <eggert@cs.ucla.edu>
diffseq: don’t assume integers lack padding
struct mode_change *mode_create_from_ref (const char *)
_GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE;
mode_t mode_adjust (mode_t, bool, mode_t, struct mode_change const *,
- mode_t *);
+ mode_t *)
+ _GL_ATTRIBUTE_PURE;
#endif