mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 16:20:37 +00:00
- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user