aboutsummaryrefslogtreecommitdiffstats
path: root/gl/lib/xfts.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/lib/xfts.h')
-rw-r--r--gl/lib/xfts.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gl/lib/xfts.h b/gl/lib/xfts.h
index f903f4804..0b129aaa4 100644
--- a/gl/lib/xfts.h
+++ b/gl/lib/xfts.h
@@ -3,8 +3,10 @@
FTS *
xfts_open (char * const *, int options,
- int (*) (const FTSENT **, const FTSENT **));
+ int (*) (const FTSENT **, const FTSENT **))
+ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC (fts_close, 1)
+ _GL_ATTRIBUTE_NONNULL ((1)) _GL_ATTRIBUTE_RETURNS_NONNULL;
bool
cycle_warning_required (FTS const *fts, FTSENT const *ent)
- _GL_ATTRIBUTE_PURE;
+ _GL_ATTRIBUTE_NONNULL () _GL_ATTRIBUTE_PURE;