FreeBSD 10 clang port
This commit is contained in:
committed by
Jon Trulson
parent
8d0551bfda
commit
c3f74eec17
@@ -293,6 +293,9 @@ ConstantNode::evaluate() const
|
||||
|
||||
extern unsigned g_validation_mode;
|
||||
|
||||
#if defined(__FreeBSD__) && (__FreeBSD__ >= 10) && !defined(__llvm__)
|
||||
__attribute__((optimize(0)))
|
||||
#endif
|
||||
FeatureValue *
|
||||
SgmlAttributeNode::evaluate() const
|
||||
{
|
||||
|
||||
@@ -495,11 +495,13 @@ void defParser_init_buffer defParser_PROTO(( defParser_BUFFER_STATE b, FILE *fil
|
||||
|
||||
#define defParser_new_buffer defParser_create_buffer
|
||||
|
||||
#if 0
|
||||
#ifdef __cplusplus
|
||||
static int defParserinput defParser_PROTO(( void ));
|
||||
#else
|
||||
static int input defParser_PROTO(( void ));
|
||||
#endif
|
||||
#endif
|
||||
|
||||
defParser_DECL
|
||||
{
|
||||
@@ -1104,6 +1106,7 @@ register defParser_CHAR *defParser_bp;
|
||||
#endif
|
||||
|
||||
|
||||
#if 0
|
||||
#ifdef __cplusplus
|
||||
static int defParserinput()
|
||||
#else
|
||||
@@ -1170,6 +1173,7 @@ static int input()
|
||||
|
||||
return ( c );
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef defParser_USE_PROTOS
|
||||
|
||||
@@ -427,11 +427,13 @@ void ps_init_buffer ps_PROTO(( ps_BUFFER_STATE b, FILE *file ));
|
||||
|
||||
#define ps_new_buffer ps_create_buffer
|
||||
|
||||
#if 0
|
||||
#ifdef __cplusplus
|
||||
static int psinput ps_PROTO(( void ));
|
||||
#else
|
||||
static int input ps_PROTO(( void ));
|
||||
#endif
|
||||
#endif
|
||||
|
||||
ps_DECL
|
||||
{
|
||||
@@ -856,6 +858,7 @@ register ps_CHAR *ps_bp;
|
||||
#endif
|
||||
|
||||
|
||||
#if 0
|
||||
#ifdef __cplusplus
|
||||
static int psinput()
|
||||
#else
|
||||
@@ -922,6 +925,7 @@ static int input()
|
||||
|
||||
return ( c );
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef ps_USE_PROTOS
|
||||
|
||||
@@ -433,11 +433,13 @@ void sgml_init_buffer sgml_PROTO(( sgml_BUFFER_STATE b, FILE *file ));
|
||||
|
||||
#define sgml_new_buffer sgml_create_buffer
|
||||
|
||||
#if 0
|
||||
#ifdef __cplusplus
|
||||
static int sgmlinput sgml_PROTO(( void ));
|
||||
#else
|
||||
static int input sgml_PROTO(( void ));
|
||||
#endif
|
||||
#endif
|
||||
|
||||
sgml_DECL
|
||||
{
|
||||
@@ -867,6 +869,7 @@ register sgml_CHAR *sgml_bp;
|
||||
#endif
|
||||
|
||||
|
||||
#if 0
|
||||
#ifdef __cplusplus
|
||||
static int sgmlinput()
|
||||
#else
|
||||
@@ -933,6 +936,7 @@ static int input()
|
||||
|
||||
return ( c );
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef sgml_USE_PROTOS
|
||||
|
||||
@@ -163,7 +163,6 @@ void trie::extend_alphabet()
|
||||
new_alphabet[k + estimated_sz] = 0;
|
||||
}
|
||||
|
||||
new_alphabet = new_alphabet;
|
||||
estimated_sz *= 2;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -112,7 +112,6 @@ protected:
|
||||
|
||||
private:
|
||||
fast_mphf_handler *v_mphf; // hash func
|
||||
inv_lists_handler *v_invlists; // list of inv_list
|
||||
|
||||
char* f_key_file_name;
|
||||
};
|
||||
|
||||
@@ -512,10 +512,12 @@ void schema_init_buffer schema_PROTO(( schema_BUFFER_STATE b, FILE *file ));
|
||||
|
||||
#define schema_new_buffer schema_create_buffer
|
||||
|
||||
#if 0
|
||||
#ifdef __cplusplus
|
||||
static int schemainput schema_PROTO(( void ));
|
||||
#else
|
||||
static int input schema_PROTO(( void ));
|
||||
#endif
|
||||
#endif
|
||||
|
||||
schema_DECL
|
||||
@@ -1116,6 +1118,7 @@ register schema_CHAR * schema_bp;
|
||||
#endif
|
||||
|
||||
|
||||
#if 0
|
||||
#ifdef __cplusplus
|
||||
static int schemainput()
|
||||
#else
|
||||
@@ -1182,6 +1185,7 @@ static int input()
|
||||
|
||||
return ( c );
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef schema_USE_PROTOS
|
||||
|
||||
Reference in New Issue
Block a user