summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordevans <devans@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-13 22:12:28 +0000
committerdevans <devans@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-13 22:12:28 +0000
commit712932d2b134217be1d84f6e4ea9e51df5efa210 (patch)
treed0faf1e028dded68f8851bbadd980ad8284dbc72 /include
parentbc6d217b74a81ee19e52aa91556784593ec78e1a (diff)
downloadgcc-712932d2b134217be1d84f6e4ea9e51df5efa210.tar.gz
include/
* filenames.h: #include "hashtab.h". (filename_hash, filename_eq): Declare. libiberty/ * filename_cmp.c (filename_hash, filename_eq): New functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189472 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog5
-rw-r--r--include/filenames.h6
2 files changed, 11 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index bf2a0329503..57f812de6c3 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2012-07-13 Doug Evans <dje@google.com>
+
+ * filenames.h: #include "hashtab.h".
+ (filename_hash, filename_eq): Declare.
+
2012-06-18 Doug Evans <dje@google.com>
* dwarf2.def (DW_OP): Add DW_OP_GNU_const_index.
diff --git a/include/filenames.h b/include/filenames.h
index 75ec3302d1d..e799a51b6ad 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