Improve support for platforms without stddef.h. NULL definition should now be provided by architecture port file atomport.h, which in most cases can just include stddef.h.

This commit is contained in:
Kelvin Lawson
2011-05-25 23:52:11 +01:00
parent 89f8775011
commit be6e60bf2f
16 changed files with 14 additions and 17 deletions

View File

@@ -28,7 +28,6 @@
*/
#include <stddef.h>
#include "atom.h"
#include "atomtests.h"

View File

@@ -27,7 +27,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <stddef.h>
#include "atom.h"
#include "atommutex.h"
#include "atomtests.h"

View File

@@ -28,7 +28,6 @@
*/
#include <stddef.h>
#include "atom.h"
#include "atommutex.h"
#include "atomtests.h"

View File

@@ -28,7 +28,6 @@
*/
#include <stddef.h>
#include "atom.h"
#include "atomtests.h"
#include "atommutex.h"

View File

@@ -28,7 +28,6 @@
*/
#include <stddef.h>
#include "atom.h"
#include "atomqueue.h"
#include "atomtests.h"

View File

@@ -28,7 +28,6 @@
*/
#include <stddef.h>
#include "atom.h"
#include "atomqueue.h"
#include "atomtests.h"

View File

@@ -28,7 +28,6 @@
*/
#include <stddef.h>
#include "atom.h"
#include "atomsem.h"
#include "atomtests.h"

View File

@@ -28,7 +28,6 @@
*/
#include <stddef.h>
#include "atom.h"
#include "atomsem.h"
#include "atomtests.h"
@@ -321,4 +320,4 @@ static void testCallback (POINTER cb_data)
*/
}
}
}

View File

@@ -28,7 +28,6 @@
*/
#include <stddef.h>
#include "atom.h"
#include "atomsem.h"
#include "atomtimer.h"
@@ -246,4 +245,4 @@ static void testCallback (POINTER cb_data)
*/
}
}
}

View File

@@ -28,7 +28,6 @@
*/
#include <stddef.h>
#include "atom.h"
#include "atomsem.h"
#include "atomtimer.h"
@@ -240,4 +239,4 @@ static void testCallback (POINTER cb_data)
*/
}
}
}

View File

@@ -28,7 +28,6 @@
*/
#include <stddef.h>
#include "atom.h"
#include "atomsem.h"
#include "atomtimer.h"
@@ -138,4 +137,4 @@ static void testCallback (POINTER cb_data)
{
/* Callback was called */
callback_ran_flag = TRUE;
}
}