[asterisk-commits] tilghman: branch 1.8 r285336 - in /branches/1.8: addons/ooh323c/src/ include/...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Sep 7 14:38:16 CDT 2010
Author: tilghman
Date: Tue Sep 7 14:38:12 2010
New Revision: 285336
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=285336
Log:
Fix build on FreeBSD 8.0, take 2.
Modified:
branches/1.8/addons/ooh323c/src/ooSocket.h
branches/1.8/include/asterisk/compiler.h
Modified: branches/1.8/addons/ooh323c/src/ooSocket.h
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/addons/ooh323c/src/ooSocket.h?view=diff&rev=285336&r1=285335&r2=285336
==============================================================================
--- branches/1.8/addons/ooh323c/src/ooSocket.h (original)
+++ branches/1.8/addons/ooh323c/src/ooSocket.h Tue Sep 7 14:38:12 2010
@@ -332,7 +332,7 @@
* negative return value is error.
*/
EXTERN int ooSocketSelect(int nfds, fd_set *readfds, fd_set *writefds,
- fd_set *exceptfds, struct timeval * timeout) __attribute_deprecated__;
+ fd_set *exceptfds, struct timeval * timeout) attribute_deprecated;
EXTERN int ooSocketPoll(struct pollfd *pfds, int nfds, int timeout);
Modified: branches/1.8/include/asterisk/compiler.h
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/include/asterisk/compiler.h?view=diff&rev=285336&r1=285335&r2=285336
==============================================================================
--- branches/1.8/include/asterisk/compiler.h (original)
+++ branches/1.8/include/asterisk/compiler.h Tue Sep 7 14:38:12 2010
@@ -41,6 +41,12 @@
#define attribute_const
#endif
+#ifdef HAVE_ATTRIBUTE_deprecated
+#define attribute_deprecated __attribute__((deprecated))
+#else
+#define attribute_deprecated
+#endif
+
#ifdef HAVE_ATTRIBUTE_unused
#define attribute_unused __attribute__((unused))
#else
More information about the asterisk-commits
mailing list