[svn-commits] mvanbaak: branch 1.6.0 r124128 - /branches/1.6.0/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jun 19 16:03:54 CDT 2008


Author: mvanbaak
Date: Thu Jun 19 16:03:54 2008
New Revision: 124128

URL: http://svn.digium.com/view/asterisk?view=rev&rev=124128
Log:
Blocked revisions 124127 via svnmerge

........
r124127 | mvanbaak | 2008-06-19 22:48:33 +0200 (Thu, 19 Jun 2008) | 10 lines

Older versions of GNU gcc do not allow 'NULL' as sentinel.
They want (char *)NULL as sentinel.
An example is OpenBSD (confirmed on 4.3) that ships with gcc 3.3.4

This commit introduces a contstant SENTINEL which is declared as:
#define SENTINEL ((char *)NULL)

All places I could test compile on my openbsd system are converted.
Update CODING-GUIDELINES to tell about this constant.

........

Modified:
    branches/1.6.0/   (props changed)

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-blocked' - no diff available.




More information about the svn-commits mailing list