diff --git a/include/asterisk/res_odbc.h b/include/asterisk/res_odbc.h index 0a4b4b58fcf5b738b821d5bad068e8121d40e0b9..3325cb729ed9c431b5a3f2812fdc9c78333cf388 100644 --- a/include/asterisk/res_odbc.h +++ b/include/asterisk/res_odbc.h @@ -64,7 +64,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