提交 ab3eafd5 编写于 作者: D Dr. Stephen Henson

Stop warning about extra ';' outside of function.

上级 dd043cd5
...@@ -595,13 +595,13 @@ static int MS_CALLBACK function_cmp(const FUNCTION *a, const FUNCTION *b) ...@@ -595,13 +595,13 @@ static int MS_CALLBACK function_cmp(const FUNCTION *a, const FUNCTION *b)
{ {
return strncmp(a->name,b->name,8); return strncmp(a->name,b->name,8);
} }
static IMPLEMENT_LHASH_COMP_FN(function, FUNCTION); static IMPLEMENT_LHASH_COMP_FN(function, FUNCTION)
static unsigned long MS_CALLBACK function_hash(const FUNCTION *a) static unsigned long MS_CALLBACK function_hash(const FUNCTION *a)
{ {
return lh_strhash(a->name); return lh_strhash(a->name);
} }
static IMPLEMENT_LHASH_HASH_FN(function, FUNCTION); static IMPLEMENT_LHASH_HASH_FN(function, FUNCTION)
static LHASH_OF(FUNCTION) *prog_init(void) static LHASH_OF(FUNCTION) *prog_init(void)
{ {
......
...@@ -78,7 +78,7 @@ typedef struct ...@@ -78,7 +78,7 @@ typedef struct
char *value; char *value;
} CONF_VALUE; } CONF_VALUE;
DECLARE_STACK_OF(CONF_VALUE); DECLARE_STACK_OF(CONF_VALUE)
DECLARE_LHASH_OF(CONF_VALUE); DECLARE_LHASH_OF(CONF_VALUE);
struct conf_st; struct conf_st;
......
...@@ -337,14 +337,14 @@ static unsigned long err_string_data_hash(const ERR_STRING_DATA *a) ...@@ -337,14 +337,14 @@ static unsigned long err_string_data_hash(const ERR_STRING_DATA *a)
ret=l^ERR_GET_LIB(l)^ERR_GET_FUNC(l); ret=l^ERR_GET_LIB(l)^ERR_GET_FUNC(l);
return(ret^ret%19*13); return(ret^ret%19*13);
} }
static IMPLEMENT_LHASH_HASH_FN(err_string_data, ERR_STRING_DATA); static IMPLEMENT_LHASH_HASH_FN(err_string_data, ERR_STRING_DATA)
static int err_string_data_cmp(const ERR_STRING_DATA *a, static int err_string_data_cmp(const ERR_STRING_DATA *a,
const ERR_STRING_DATA *b) const ERR_STRING_DATA *b)
{ {
return (int)(a->error - b->error); return (int)(a->error - b->error);
} }
static IMPLEMENT_LHASH_COMP_FN(err_string_data, ERR_STRING_DATA); static IMPLEMENT_LHASH_COMP_FN(err_string_data, ERR_STRING_DATA)
static LHASH_OF(ERR_STRING_DATA) *int_err_get(int create) static LHASH_OF(ERR_STRING_DATA) *int_err_get(int create)
{ {
...@@ -430,13 +430,13 @@ static unsigned long err_state_hash(const ERR_STATE *a) ...@@ -430,13 +430,13 @@ static unsigned long err_state_hash(const ERR_STATE *a)
{ {
return CRYPTO_THREADID_hash(&a->tid); return CRYPTO_THREADID_hash(&a->tid);
} }
static IMPLEMENT_LHASH_HASH_FN(err_state, ERR_STATE); static IMPLEMENT_LHASH_HASH_FN(err_state, ERR_STATE)
static int err_state_cmp(const ERR_STATE *a, const ERR_STATE *b) static int err_state_cmp(const ERR_STATE *a, const ERR_STATE *b)
{ {
return CRYPTO_THREADID_cmp(&a->tid, &b->tid); return CRYPTO_THREADID_cmp(&a->tid, &b->tid);
} }
static IMPLEMENT_LHASH_COMP_FN(err_state, ERR_STATE); static IMPLEMENT_LHASH_COMP_FN(err_state, ERR_STATE)
static LHASH_OF(ERR_STATE) *int_thread_get(int create) static LHASH_OF(ERR_STATE) *int_thread_get(int create)
{ {
......
...@@ -253,13 +253,13 @@ static unsigned long ex_class_item_hash(const EX_CLASS_ITEM *a) ...@@ -253,13 +253,13 @@ static unsigned long ex_class_item_hash(const EX_CLASS_ITEM *a)
{ {
return a->class_index; return a->class_index;
} }
static IMPLEMENT_LHASH_HASH_FN(ex_class_item, EX_CLASS_ITEM); static IMPLEMENT_LHASH_HASH_FN(ex_class_item, EX_CLASS_ITEM)
static int ex_class_item_cmp(const EX_CLASS_ITEM *a, const EX_CLASS_ITEM *b) static int ex_class_item_cmp(const EX_CLASS_ITEM *a, const EX_CLASS_ITEM *b)
{ {
return a->class_index - b->class_index; return a->class_index - b->class_index;
} }
static IMPLEMENT_LHASH_COMP_FN(ex_class_item, EX_CLASS_ITEM); static IMPLEMENT_LHASH_COMP_FN(ex_class_item, EX_CLASS_ITEM)
/* Internal functions used by the "impl_default" implementation to access the /* Internal functions used by the "impl_default" implementation to access the
* state */ * state */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册