diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-11-29 16:58:29 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-11-29 16:58:29 +0000 |
commit | 81fa0b3582ba4f23dd3f6bfa576fdd7ac531a127 (patch) | |
tree | 2abe23f0b4942edf470a41b1a8cef51a073fc887 /utils/check_expr.c | |
parent | e27acaa5de2958e98e05ddb82231231b73882945 (diff) |
update dev-mode compiler flags to match the ones used by default on Ubuntu Intrepid, so all developers will see the same warnings and errors
since this branch already had some printf format attributes, enable checking for them and tag functions that didn't have them
format attributes in a consistent way
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@159808 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils/check_expr.c')
-rw-r--r-- | utils/check_expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/check_expr.c b/utils/check_expr.c index df1765db1..d3dcc5d19 100644 --- a/utils/check_expr.c +++ b/utils/check_expr.c @@ -41,7 +41,7 @@ struct varz *global_varlist; /* Our own version of ast_log, since the expr parser uses it. */ -void ast_log(int level, const char *file, int line, const char *function, const char *fmt, ...) __attribute__ ((format (printf,5,6))); +void ast_log(int level, const char *file, int line, const char *function, const char *fmt, ...) __attribute__((format(printf,5,6))); void ast_log(int level, const char *file, int line, const char *function, const char *fmt, ...) { |