[asterisk-commits] dlee: branch dlee/ASTERISK-22296 r397699 - /team/dlee/ASTERISK-22296/include/...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Aug 26 21:48:26 CDT 2013


Author: dlee
Date: Mon Aug 26 21:48:24 2013
New Revision: 397699

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=397699
Log:
Mark typedef as may_alias, for gcc-4.1

Modified:
    team/dlee/ASTERISK-22296/include/asterisk/optional_api.h

Modified: team/dlee/ASTERISK-22296/include/asterisk/optional_api.h
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ASTERISK-22296/include/asterisk/optional_api.h?view=diff&rev=397699&r1=397698&r2=397699
==============================================================================
--- team/dlee/ASTERISK-22296/include/asterisk/optional_api.h (original)
+++ team/dlee/ASTERISK-22296/include/asterisk/optional_api.h Mon Aug 26 21:48:24 2013
@@ -115,7 +115,7 @@
  * they are cast to this type as needed. We don't use a \c void pointer, because
  * technically data and function pointers are incompatible.
  */
-typedef void (*ast_optional_fn)(void);
+typedef void (*ast_optional_fn)(void) __attribute__((__may_alias__));
 
 /*!
  * \internal




More information about the asterisk-commits mailing list