aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-13 05:57:52 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-13 05:57:52 +0000
commit32e9fe9768a8e116f47cd4fc685afe99eaa5fbf0 (patch)
treec83afe56dd380ad387a817cd2dc25eefe9a0f91c /include/asterisk
parentfa69a1b4140243cf0646833ee390f759f20c6abc (diff)
- Constify the format string passed to ast_cli()
- Simplify printing out the warranty and license git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54147 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/cli.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/cli.h b/include/asterisk/cli.h
index 8f6b0b84b..43a900811 100644
--- a/include/asterisk/cli.h
+++ b/include/asterisk/cli.h
@@ -31,7 +31,7 @@ extern "C" {
#include "asterisk/linkedlists.h"
-void ast_cli(int fd, char *fmt, ...)
+void ast_cli(int fd, const char *fmt, ...)
__attribute__ ((format (printf, 2, 3)));
#define RESULT_SUCCESS 0