X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/de355530ae67247cbd0da700edb3a2a1dae884c2..743b15655a24ee3fe9f458f383003e011db0558f:/iokit/Kernel/IORangeAllocator.cpp?ds=sidebyside diff --git a/iokit/Kernel/IORangeAllocator.cpp b/iokit/Kernel/IORangeAllocator.cpp index 26f6161ac..a52943ee3 100644 --- a/iokit/Kernel/IORangeAllocator.cpp +++ b/iokit/Kernel/IORangeAllocator.cpp @@ -87,9 +87,9 @@ bool IORangeAllocator::init( IORangeScalar endOfRange, IORangeAllocator * IORangeAllocator:: withRange( IORangeScalar endOfRange, - IORangeScalar defaultAlignment = 0, - UInt32 capacity = 0, - IOOptionBits options = 0 ) + IORangeScalar defaultAlignment, + UInt32 capacity, + IOOptionBits options ) { IORangeAllocator * thingy; @@ -177,7 +177,7 @@ void IORangeAllocator::deallocElement( UInt32 index ) bool IORangeAllocator::allocate( IORangeScalar size, IORangeScalar * result, - IORangeScalar alignment = 0 ) + IORangeScalar alignment ) { IORangeScalar data, dataEnd; IORangeScalar thisStart, thisEnd;