diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-01-17 14:43:55 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-01-17 14:43:55 +0000 |
commit | 2de9abc5c9d40b3c716307d67d16146f823fd554 (patch) | |
tree | 6979db67934ddc8b564150b465846a383b428ff8 /gnulib/lib/ino-map.h | |
parent | 33cc1c6fda6e72a7bae1401e9b2cec495a4d3ff1 (diff) | |
download | patch-baserock/bootstrap-pass2.tar.gz |
add the output of bootstrapbaserock/bootstrap-pass2baserock/bootstrap
Diffstat (limited to 'gnulib/lib/ino-map.h')
m--------- | gnulib | 0 | ||||
-rw-r--r-- | gnulib/lib/ino-map.h | 19 |
2 files changed, 19 insertions, 0 deletions
diff --git a/gnulib b/gnulib deleted file mode 160000 -Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1 diff --git a/gnulib/lib/ino-map.h b/gnulib/lib/ino-map.h new file mode 100644 index 0000000..b742291 --- /dev/null +++ b/gnulib/lib/ino-map.h @@ -0,0 +1,19 @@ +#ifndef _GL_INO_MAP_H +# define _GL_INO_MAP_H + +# include <sys/types.h> + +# undef _GL_ATTRIBUTE_NONNULL +# if __GNUC__ == 3 && __GNUC_MINOR__ >= 3 || 3 < __GNUC__ +# define _GL_ATTRIBUTE_NONNULL(m) __attribute__ ((__nonnull__ (m))) +# else +# define _GL_ATTRIBUTE_NONNULL(m) +# endif + +# define INO_MAP_INSERT_FAILURE ((size_t) -1) + +struct ino_map *ino_map_alloc (size_t); +void ino_map_free (struct ino_map *) _GL_ATTRIBUTE_NONNULL (1); +size_t ino_map_insert (struct ino_map *, ino_t) _GL_ATTRIBUTE_NONNULL (1); + +#endif |