Mercurial > gnulib
view lib/hash-triple.h @ 40227:5207eb0dcd2a
tests: Avoid havoc with "gcc -fcheck-pointer-bounds".
* tests/test-fprintf-posix2.c: Skip the test when -fcheck-pointer-bounds
is in use.
* tests/test-printf-posix2.c: Likewise.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 10 Mar 2019 17:09:30 +0100 |
parents | 6beadb731202 |
children |
line wrap: on
line source
#ifndef HASH_TRIPLE_H #define HASH_TRIPLE_H #include <sys/types.h> #include <sys/stat.h> #include <stdbool.h> /* Describe a just-created or just-renamed destination file. */ struct F_triple { char *name; ino_t st_ino; dev_t st_dev; }; extern size_t triple_hash (void const *x, size_t table_size) _GL_ATTRIBUTE_PURE; extern size_t triple_hash_no_name (void const *x, size_t table_size) _GL_ATTRIBUTE_PURE; extern bool triple_compare (void const *x, void const *y); extern bool triple_compare_ino_str (void const *x, void const *y) _GL_ATTRIBUTE_PURE; extern void triple_free (void *x); #endif