]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Kernel/IORangeAllocator.cpp
xnu-792.6.70.tar.gz
[apple/xnu.git] / iokit / Kernel / IORangeAllocator.cpp
index 26f6161ac3cf8e5af240df2de67cecf4548b6b6d..a52943ee3a2f3f131cd1e1ded3e10f2b2a08a018 100644 (file)
@@ -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;