Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-07-14 03:39:46 +0400
committerDoug Evans <dje@google.com>2012-07-14 03:39:46 +0400
commit2fca7fa911af50f14a3df371120241129f992709 (patch)
tree0ec3b2d408abff38dbb09d98d94bc138ea428782 /include/filenames.h
parent5e99c156722a1658285441591709ae73e150ee3b (diff)
include/
* filenames.h: #include "hashtab.h". (filename_hash, filename_eq): Declare. libiberty/ * filename_cmp.c (filename_hash, filename_eq): New functions.
Diffstat (limited to 'include/filenames.h')
-rw-r--r--include/filenames.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/filenames.h b/include/filenames.h
index 75ec3302d..e799a51b6 100644
--- a/include/filenames.h
+++ b/include/filenames.h
@@ -26,6 +26,8 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
#ifndef FILENAMES_H
#define FILENAMES_H
+#include "hashtab.h" /* for hashval_t */
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -84,6 +86,10 @@ extern int filename_cmp (const char *s1, const char *s2);
extern int filename_ncmp (const char *s1, const char *s2,
size_t n);
+extern hashval_t filename_hash (const void *s);
+
+extern int filename_eq (const void *s1, const void *s2);
+
#ifdef __cplusplus
}
#endif