aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-14 21:00:59 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-14 21:00:59 +0000
commit8cd540a042969a9956243bd2d984e67dbaec4c75 (patch)
treecd392785da5ad5ce76b08cbcc04b07c55f7ab861 /pbx.c
parent44b2de08cfdfabe33892464db8ad6db1c81e71ef (diff)
constify a couple of function arguments
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20138 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rw-r--r--pbx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbx.c b/pbx.c
index d4b17dbf7..ba8d22768 100644
--- a/pbx.c
+++ b/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);