mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
constify a couple of function arguments
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
pbx.c
4
pbx.c
@@ -3809,7 +3809,7 @@ static char *months[] =
|
||||
NULL,
|
||||
};
|
||||
|
||||
int ast_build_timing(struct ast_timing *i, char *info_in)
|
||||
int ast_build_timing(struct ast_timing *i, const char *info_in)
|
||||
{
|
||||
char info_save[256];
|
||||
char *info;
|
||||
@@ -3835,7 +3835,7 @@ int ast_build_timing(struct ast_timing *i, char *info_in)
|
||||
return 1;
|
||||
}
|
||||
|
||||
int ast_check_timing(struct ast_timing *i)
|
||||
int ast_check_timing(const struct ast_timing *i)
|
||||
{
|
||||
struct tm tm;
|
||||
time_t t = time(NULL);
|
||||
|
Reference in New Issue
Block a user