Module: wine Branch: master Commit: 4c92ba2270146957aba35461a951a5270854f990 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4c92ba2270146957aba35461a9...
Author: Andrew Talbot andrew.talbot@talbotville.com Date: Sat Jan 3 12:53:34 2009 +0000
dbghelp: Declare some functions static.
---
dlls/dbghelp/dbghelp_private.h | 7 ------- dlls/dbghelp/module.c | 4 ++-- dlls/dbghelp/storage.c | 2 +- 3 files changed, 3 insertions(+), 10 deletions(-)
diff --git a/dlls/dbghelp/dbghelp_private.h b/dlls/dbghelp/dbghelp_private.h index 3eb420e..880aed9 100644 --- a/dlls/dbghelp/dbghelp_private.h +++ b/dlls/dbghelp/dbghelp_private.h @@ -91,7 +91,6 @@ void hash_table_init(struct pool* pool, struct hash_table* ht, void hash_table_destroy(struct hash_table* ht); void hash_table_add(struct hash_table* ht, struct hash_table_elt* elt); void* hash_table_find(const struct hash_table* ht, const char* name); -unsigned hash_table_hash(const char* name, unsigned num_buckets);
struct hash_table_iter { @@ -439,9 +438,6 @@ extern struct module* module_find_by_addr(const struct process* pcs, unsigned long addr, enum module_type type); extern struct module* - module_find_by_name(const struct process* pcs, - const WCHAR* name); -extern struct module* module_find_by_nameA(const struct process* pcs, const char* name); extern struct module* @@ -454,9 +450,6 @@ extern struct module* unsigned long addr, unsigned long size, unsigned long stamp, unsigned long checksum); extern struct module* - module_get_container(const struct process* pcs, - const struct module* inner); -extern struct module* module_get_containee(const struct process* pcs, const struct module* inner); extern enum module_type diff --git a/dlls/dbghelp/module.c b/dlls/dbghelp/module.c index ddc6d3d..49b7742 100644 --- a/dlls/dbghelp/module.c +++ b/dlls/dbghelp/module.c @@ -188,7 +188,7 @@ struct module* module_new(struct process* pcs, const WCHAR* name, * module_find_by_name * */ -struct module* module_find_by_name(const struct process* pcs, const WCHAR* name) +static struct module* module_find_by_name(const struct process* pcs, const WCHAR* name) { struct module* module;
@@ -238,7 +238,7 @@ struct module* module_is_already_loaded(const struct process* pcs, const WCHAR* * module_get_container * */ -struct module* module_get_container(const struct process* pcs, +static struct module* module_get_container(const struct process* pcs, const struct module* inner) { struct module* module; diff --git a/dlls/dbghelp/storage.c b/dlls/dbghelp/storage.c index 04ea378..ec8a37d 100644 --- a/dlls/dbghelp/storage.c +++ b/dlls/dbghelp/storage.c @@ -298,7 +298,7 @@ unsigned sparse_array_length(const struct sparse_array* sa) return sa->elements.num_elts; }
-unsigned hash_table_hash(const char* name, unsigned num_buckets) +static unsigned hash_table_hash(const char* name, unsigned num_buckets) { unsigned hash = 0; while (*name)