summaryrefslogtreecommitdiff
path: root/include/asterisk/cli.h
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2007-02-13 05:57:52 +0000
committerRussell Bryant <russell@russellbryant.com>2007-02-13 05:57:52 +0000
commit4300a7a6cd172455fb91794cda2a82f039bb9532 (patch)
treec83afe56dd380ad387a817cd2dc25eefe9a0f91c /include/asterisk/cli.h
parent8f8df3e5a98afa5a450a5451793d22005a1d2100 (diff)
- Constify the format string passed to ast_cli()
- Simplify printing out the warranty and license git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/cli.h')
-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