1 #ifndef _GL_DI_SET_H
2 # define _GL_DI_SET_H
3 
4 # include <sys/types.h>
5 
6 # undef _GL_ATTRIBUTE_NONNULL
7 # if __GNUC__ == 3 && __GNUC_MINOR__ >= 3 || 3 < __GNUC__
8 #  define _GL_ATTRIBUTE_NONNULL(m) __attribute__ ((__nonnull__ (m)))
9 # else
10 #  define _GL_ATTRIBUTE_NONNULL(m)
11 # endif
12 
13 struct di_set *di_set_alloc (void);
14 int di_set_insert (struct di_set *, dev_t, ino_t) _GL_ATTRIBUTE_NONNULL (1);
15 void di_set_free (struct di_set *) _GL_ATTRIBUTE_NONNULL (1);
16 int di_set_lookup (struct di_set *dis, dev_t dev, ino_t ino)
17   _GL_ATTRIBUTE_NONNULL (1);
18 
19 #endif
20