Changed a "" include to a <> one. Some cosmetic changes.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2347 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2003-01-02 11:14:33 +00:00
parent d390baeede
commit 005069f4e1
1 changed files with 8 additions and 3 deletions

View File

@ -26,12 +26,16 @@
// Not thread safe.
//------------------------------------------------------------------------------
#include "List.h"
// Standard Includes -----------------------------------------------------------
#include <List.h>
// System Includes -------------------------------------------------------------
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// helper function
static inline
void
@ -136,7 +140,7 @@ BList::AddList(BList *list, int32 index)
bool
BList::AddList(BList *list)
{
bool result = (list);
bool result = (list != NULL);
if (result && list->fItemCount > 0) {
int32 index = fItemCount;
int32 count = list->fItemCount;
@ -381,9 +385,10 @@ BList::DoForEach(bool (*func)(void *))
}
//same as above, except this function takes an argument.
void
BList::DoForEach(bool (*func)(void *, void*), void * arg)
//same as above, except this function takes an argument.
{
bool terminate = false; int32 index = 0;
if (func != NULL)