From 291dd8859513bafea7b4d280dd34e439b58f9712 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Thu, 1 May 2008 23:20:25 +0000 Subject: [PATCH] Change the comment of deprecated to an actual compiler deprecation git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@115102 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/res_odbc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.