From 81fa0b3582ba4f23dd3f6bfa576fdd7ac531a127 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Sat, 29 Nov 2008 16:58:29 +0000 Subject: 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 --- include/asterisk/devicestate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/asterisk/devicestate.h') diff --git a/include/asterisk/devicestate.h b/include/asterisk/devicestate.h index ed9022fbd..561bd2cb4 100644 --- a/include/asterisk/devicestate.h +++ b/include/asterisk/devicestate.h @@ -83,7 +83,7 @@ int ast_device_state(const char *device); * Returns 0 on success, -1 on failure */ int ast_device_state_changed(const char *fmt, ...) - __attribute__ ((format (printf, 1, 2))); + __attribute__((format(printf, 1, 2))); /*! \brief Tells Asterisk the State for Device is changed -- cgit v1.2.3