diff --git a/include/asterisk/res_odbc.h b/include/asterisk/res_odbc.h index 7f1f558120..690b1f5b9c 100644 --- a/include/asterisk/res_odbc.h +++ b/include/asterisk/res_odbc.h @@ -61,7 +61,7 @@ struct odbc_obj { * This function really only ever worked with MySQL, where the statement handle is * not prepared on the server. If you are not using MySQL, you should avoid it. */ -int ast_odbc_smart_execute(struct odbc_obj *obj, SQLHSTMT stmt); /* DEPRECATED */ +int ast_odbc_smart_execute(struct odbc_obj *obj, SQLHSTMT stmt) __attribute__ ((deprecated)); /*! \brief Retrieves a connected ODBC object * \param name The name of the ODBC class for which a connection is needed.