mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-04 03:20:33 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user