diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-09-10 05:24:49 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-09-10 05:24:49 +0000 |
commit | 976304e2d745787a11d40773e5e89bc1f5ed441e (patch) | |
tree | 7369fb6f917cb30c67faa951c0b0cdf29ff0eb73 /include/asterisk/cli.h | |
parent | 2d2f69d9b8a98aa5a4fb1247c5346becaed1793d (diff) |
Fix small logic errors (bug #242)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1494 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/cli.h')
-rwxr-xr-x | include/asterisk/cli.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asterisk/cli.h b/include/asterisk/cli.h index bb41ad8f3..6dfc62144 100755 --- a/include/asterisk/cli.h +++ b/include/asterisk/cli.h @@ -20,7 +20,8 @@ extern "C" { #include <stdarg.h> -extern void ast_cli(int fd, char *fmt, ...); +extern void ast_cli(int fd, char *fmt, ...) + __attribute__ ((format (printf, 2, 3))); #define RESULT_SUCCESS 0 #define RESULT_SHOWUSAGE 1 |