[Mesa-dev] [PATCH 1/2] util/macros: Move DIV_ROUND_UP to util/macros.h

Brian Paul brianp at vmware.com
Mon Apr 27 10:30:43 PDT 2015


On 04/27/2015 11:22 AM, Axel Davy wrote:
> On 27/04/2015 15:52, Brian Paul wrote :
>> On 04/26/2015 03:23 PM, Axel Davy wrote:
>>>
>>>    */
>>>
>>>   #include "svga3d_reg.h"
>>> +#include "util/macros.h"
>>
>> Actually, it looks like this #include may not be needed.
>>
>> We get ARRAY_SIZE via including svga3d_reg.h, which includes
>> svga_types.h, which includes p_compiler.h which includes util/macros.h
>>
>> Otherwise, for both:
>>
>> Reviewed-by: Brian Paul <brianp at vmware.com>
>>
>>
>>
> Do you want I remove this include from the patch ? Or that I let it
> there for clarity ?

Let's remove it.

-Brian



More information about the mesa-dev mailing list