Skip to content

FreeBSD: minor fixes to stop compiler warnings

Eleni Maria Stea requested to merge hikiko/drm:hikiko/freebsd-warnings into main
  • Moved type definition at the top to fix C90 warnings.
  • Renamed ALIGN macro that is defined with a different prototype on BSD in machine/params.h to avoid conflicts (only in util_math.h and files including it, other definitions of ALIGN don't seem to cause a problem)
  • Removed unused variables

Signed-off-by: Eleni Maria Stea elene.mst@gmail.com

Merge request reports

Loading