- 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
This commit is contained in:
Russell Bryant
2007-02-13 05:57:52 +00:00
parent 8f8df3e5a9
commit 4300a7a6cd
3 changed files with 44 additions and 50 deletions

View File

@@ -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