dbghelp: Declare some functions static.
This commit is contained in:
parent
9a080691c6
commit
4c92ba2270
|
@ -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_destroy(struct hash_table* ht);
|
||||||
void hash_table_add(struct hash_table* ht, struct hash_table_elt* elt);
|
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);
|
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
|
struct hash_table_iter
|
||||||
{
|
{
|
||||||
|
@ -438,9 +437,6 @@ extern const WCHAR S_SlashW[];
|
||||||
extern struct module*
|
extern struct module*
|
||||||
module_find_by_addr(const struct process* pcs, unsigned long addr,
|
module_find_by_addr(const struct process* pcs, unsigned long addr,
|
||||||
enum module_type type);
|
enum module_type type);
|
||||||
extern struct module*
|
|
||||||
module_find_by_name(const struct process* pcs,
|
|
||||||
const WCHAR* name);
|
|
||||||
extern struct module*
|
extern struct module*
|
||||||
module_find_by_nameA(const struct process* pcs,
|
module_find_by_nameA(const struct process* pcs,
|
||||||
const char* name);
|
const char* name);
|
||||||
|
@ -453,9 +449,6 @@ extern struct module*
|
||||||
enum module_type type, BOOL virtual,
|
enum module_type type, BOOL virtual,
|
||||||
unsigned long addr, unsigned long size,
|
unsigned long addr, unsigned long size,
|
||||||
unsigned long stamp, unsigned long checksum);
|
unsigned long stamp, unsigned long checksum);
|
||||||
extern struct module*
|
|
||||||
module_get_container(const struct process* pcs,
|
|
||||||
const struct module* inner);
|
|
||||||
extern struct module*
|
extern struct module*
|
||||||
module_get_containee(const struct process* pcs,
|
module_get_containee(const struct process* pcs,
|
||||||
const struct module* inner);
|
const struct module* inner);
|
||||||
|
|
|
@ -188,7 +188,7 @@ struct module* module_new(struct process* pcs, const WCHAR* name,
|
||||||
* module_find_by_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;
|
struct module* module;
|
||||||
|
|
||||||
|
@ -238,7 +238,7 @@ struct module* module_is_already_loaded(const struct process* pcs, const WCHAR*
|
||||||
* module_get_container
|
* 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)
|
const struct module* inner)
|
||||||
{
|
{
|
||||||
struct module* module;
|
struct module* module;
|
||||||
|
|
|
@ -298,7 +298,7 @@ unsigned sparse_array_length(const struct sparse_array* sa)
|
||||||
return sa->elements.num_elts;
|
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;
|
unsigned hash = 0;
|
||||||
while (*name)
|
while (*name)
|
||||||
|
|
Loading…
Reference in New Issue