summaryrefslogtreecommitdiff
path: root/gl/lib/di-set.h
blob: d30a31e926a639a7fdb839f453f177dc92f3f0a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <sys/types.h>

#undef _ATTRIBUTE_NONNULL_
#if __GNUC__ == 3 && __GNUC_MINOR__ >= 3 || 3 < __GNUC__
# define _ATTRIBUTE_NONNULL_(m) __attribute__ ((__nonnull__ (m)))
#else
# define _ATTRIBUTE_NONNULL_(m)
#endif

struct di_set *di_set_alloc (void);
int di_set_insert (struct di_set *, dev_t, ino_t) _ATTRIBUTE_NONNULL_ (1);
void di_set_free (struct di_set *) _ATTRIBUTE_NONNULL_ (1);