mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
constification, remove include
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@249011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -32,8 +32,6 @@
|
||||
|
||||
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
|
||||
#include <time.h>
|
||||
|
||||
#include "asterisk/paths.h" /* use ast_config_AST_LOG_DIR */
|
||||
#include "asterisk/config.h"
|
||||
#include "asterisk/channel.h"
|
||||
@@ -133,7 +131,7 @@ static int load_config(int reload)
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int append_string(char *buf, char *s, size_t bufsize)
|
||||
static int append_string(char *buf, const char *s, size_t bufsize)
|
||||
{
|
||||
int pos = strlen(buf), spos = 0, error = -1;
|
||||
|
||||
|
Reference in New Issue
Block a user