Commit ab3eafd5 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Stop warning about extra ';' outside of function.

parent dd043cd5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -595,13 +595,13 @@ static int MS_CALLBACK function_cmp(const FUNCTION *a, const FUNCTION *b)
	{
	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)
	{
	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)
	{
+1 −1
Original line number Diff line number Diff line
@@ -78,7 +78,7 @@ typedef struct
	char *value;
	} CONF_VALUE;

DECLARE_STACK_OF(CONF_VALUE);
DECLARE_STACK_OF(CONF_VALUE)
DECLARE_LHASH_OF(CONF_VALUE);

struct conf_st;
+4 −4
Original line number Diff line number Diff line
@@ -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);
	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,
			       const ERR_STRING_DATA *b)
	{
	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)
	{
@@ -430,13 +430,13 @@ static unsigned long err_state_hash(const ERR_STATE *a)
	{
	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)
	{
	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)
	{
+2 −2
Original line number Diff line number Diff line
@@ -253,13 +253,13 @@ static unsigned long ex_class_item_hash(const EX_CLASS_ITEM *a)
	{
	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)
	{
	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
 * state */