various minor portability fixes (mostly from tholo for OpenBSD)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2006-06-09 20:26:25 +00:00
parent 13a98f92fe
commit b31b0be819
8 changed files with 82 additions and 98 deletions

View File

@@ -171,7 +171,7 @@ void __ast_string_field_index_build(struct ast_string_field_mgr *mgr,
\brief Declare a string field
\param name The field name
*/
#define AST_STRING_FIELD(name) const ast_string_field name;
#define AST_STRING_FIELD(name) const ast_string_field name
/*!
\brief Declare the fields needed in a structure
@@ -181,7 +181,7 @@ void __ast_string_field_index_build(struct ast_string_field_mgr *mgr,
ast_string_field __begin_field[0]; \
field_list \
ast_string_field __end_field[0]; \
struct ast_string_field_mgr __field_mgr;
struct ast_string_field_mgr __field_mgr
/*!
\brief Get the number of string fields in a structure