FreeBSD 10 clang port

This commit is contained in:
Ulrich Wilkens
2014-07-27 16:48:57 +02:00
committed by Jon Trulson
parent 8d0551bfda
commit c3f74eec17
99 changed files with 510 additions and 366 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -163,7 +163,6 @@ void trie::extend_alphabet()
new_alphabet[k + estimated_sz] = 0;
}
new_alphabet = new_alphabet;
estimated_sz *= 2;
}
}