Mercurial > hg > octave-kai > gnulib-hg
annotate lib/ino-map.h @ 17249:e542fd46ad6f
maint: update all copyright year number ranges
Run "make update-copyright". Compare to commit 1602f0a from last year.
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Tue, 01 Jan 2013 00:50:58 +0000 |
parents | 724011432f7b |
children |
rev | line source |
---|---|
14312
e8b52e48a3ab
di-set.h, ino-map.h: add multiple-inclusion guard
Jim Meyering <meyering@redhat.com>
parents:
14276
diff
changeset
|
1 #ifndef _GL_INO_MAP_H |
e8b52e48a3ab
di-set.h, ino-map.h: add multiple-inclusion guard
Jim Meyering <meyering@redhat.com>
parents:
14276
diff
changeset
|
2 # define _GL_INO_MAP_H |
e8b52e48a3ab
di-set.h, ino-map.h: add multiple-inclusion guard
Jim Meyering <meyering@redhat.com>
parents:
14276
diff
changeset
|
3 |
e8b52e48a3ab
di-set.h, ino-map.h: add multiple-inclusion guard
Jim Meyering <meyering@redhat.com>
parents:
14276
diff
changeset
|
4 # include <sys/types.h> |
14276
6b7046963230
di-set, ino-map: new modules, from coreutils
Jim Meyering <meyering@redhat.com>
parents:
diff
changeset
|
5 |
14351
724011432f7b
Consistent macro naming for macros that use GCC __attribute__.
Bruno Haible <bruno@clisp.org>
parents:
14312
diff
changeset
|
6 # undef _GL_ATTRIBUTE_NONNULL |
14312
e8b52e48a3ab
di-set.h, ino-map.h: add multiple-inclusion guard
Jim Meyering <meyering@redhat.com>
parents:
14276
diff
changeset
|
7 # if __GNUC__ == 3 && __GNUC_MINOR__ >= 3 || 3 < __GNUC__ |
14351
724011432f7b
Consistent macro naming for macros that use GCC __attribute__.
Bruno Haible <bruno@clisp.org>
parents:
14312
diff
changeset
|
8 # define _GL_ATTRIBUTE_NONNULL(m) __attribute__ ((__nonnull__ (m))) |
14312
e8b52e48a3ab
di-set.h, ino-map.h: add multiple-inclusion guard
Jim Meyering <meyering@redhat.com>
parents:
14276
diff
changeset
|
9 # else |
14351
724011432f7b
Consistent macro naming for macros that use GCC __attribute__.
Bruno Haible <bruno@clisp.org>
parents:
14312
diff
changeset
|
10 # define _GL_ATTRIBUTE_NONNULL(m) |
14312
e8b52e48a3ab
di-set.h, ino-map.h: add multiple-inclusion guard
Jim Meyering <meyering@redhat.com>
parents:
14276
diff
changeset
|
11 # endif |
14276
6b7046963230
di-set, ino-map: new modules, from coreutils
Jim Meyering <meyering@redhat.com>
parents:
diff
changeset
|
12 |
14312
e8b52e48a3ab
di-set.h, ino-map.h: add multiple-inclusion guard
Jim Meyering <meyering@redhat.com>
parents:
14276
diff
changeset
|
13 # define INO_MAP_INSERT_FAILURE ((size_t) -1) |
14276
6b7046963230
di-set, ino-map: new modules, from coreutils
Jim Meyering <meyering@redhat.com>
parents:
diff
changeset
|
14 |
6b7046963230
di-set, ino-map: new modules, from coreutils
Jim Meyering <meyering@redhat.com>
parents:
diff
changeset
|
15 struct ino_map *ino_map_alloc (size_t); |
14351
724011432f7b
Consistent macro naming for macros that use GCC __attribute__.
Bruno Haible <bruno@clisp.org>
parents:
14312
diff
changeset
|
16 void ino_map_free (struct ino_map *) _GL_ATTRIBUTE_NONNULL (1); |
724011432f7b
Consistent macro naming for macros that use GCC __attribute__.
Bruno Haible <bruno@clisp.org>
parents:
14312
diff
changeset
|
17 size_t ino_map_insert (struct ino_map *, ino_t) _GL_ATTRIBUTE_NONNULL (1); |
14312
e8b52e48a3ab
di-set.h, ino-map.h: add multiple-inclusion guard
Jim Meyering <meyering@redhat.com>
parents:
14276
diff
changeset
|
18 |
e8b52e48a3ab
di-set.h, ino-map.h: add multiple-inclusion guard
Jim Meyering <meyering@redhat.com>
parents:
14276
diff
changeset
|
19 #endif |