mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
eliminate warning on older versions of gcc
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -103,7 +103,7 @@ typedef const char * ast_string_field;
|
|||||||
\internal
|
\internal
|
||||||
\brief A constant empty string used for fields that have no other value
|
\brief A constant empty string used for fields that have no other value
|
||||||
*/
|
*/
|
||||||
extern const char *__ast_string_field_empty;
|
extern const char __ast_string_field_empty[];
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\internal
|
\internal
|
||||||
|
2
utils.c
2
utils.c
@@ -961,7 +961,7 @@ void ast_join(char *s, size_t len, char * const w[])
|
|||||||
s[ofs] = '\0';
|
s[ofs] = '\0';
|
||||||
}
|
}
|
||||||
|
|
||||||
const char const *__ast_string_field_empty = "";
|
const char __ast_string_field_empty[] = "";
|
||||||
|
|
||||||
static int add_string_pool(struct ast_string_field_mgr *mgr, size_t size)
|
static int add_string_pool(struct ast_string_field_mgr *mgr, size_t size)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user