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.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Michiel van Baak 17 years ago
parent 43353b7374
commit d026b05b7d

Diff Content Not Available