Skip to content

Make order of arguments in function prototypes match definitions

Alan Coopersmith requested to merge alanc/xf86-video-apm:misc into master

Found by cppcheck:

apm_funcs.c:1026:45: warning:
 Function 'ApmSubsequentSolidBresenhamLine' argument order different:
 declaration 'pScrn, x1, y1, octant, err, e1, e2, length'
 definition 'pScrn, x1, y1, e1, e2, err, length, octant'
 [funcArgOrderDifferent]

apm_funcs.c:1087:49: warning:
 Function 'ApmSubsequentSolidBresenhamLine6422' argument order different:
 declaration 'pScrn, x1, y1, octant, err, e1, e2, length'
 definition 'pScrn, x1, y1, e1, e2, err, length, octant'
 [funcArgOrderDifferent]

Merge request reports

Loading