sys_stat: Fix 'implicit declaration of function' warning on OS/2 kLIBC.
[gnulib.git] / lib / di-set.h
blobabc3161fea4af11463ff75fbe3382e8d21824954
1 #ifndef _GL_DI_SET_H
2 # define _GL_DI_SET_H
4 # include <sys/types.h>
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
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);
19 #endif