diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-05-07 11:00:20 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-05-07 11:00:20 -0700 |
commit | c9ff983435d72ff863ddb675f45da288467c89a2 (patch) | |
tree | 3a3880d945b7259926adb4f78f4ef01b9877abe5 /src | |
parent | 2aa261e265e5f9249a7ea1ddbcbc8c79aa91f4c0 (diff) |
Make order of arguments in function prototypes match definitions
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]
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/apm_funcs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/apm_funcs.c b/src/apm_funcs.c index 29328d1..fc45ca6 100644 --- a/src/apm_funcs.c +++ b/src/apm_funcs.c @@ -77,8 +77,8 @@ static void A(SubsequentScreenToScreenColorExpandFill)(ScrnInfoPtr pScrn, int w, int h, int srcx, int srcy, int offset); -static void A(SubsequentSolidBresenhamLine)(ScrnInfoPtr pScrn, int x1, int y1, int octant, int err, int e1, int e2, int length); -static void A(SubsequentSolidBresenhamLine6422)(ScrnInfoPtr pScrn, int x1, int y1, int octant, int err, int e1, int e2, int length); +static void A(SubsequentSolidBresenhamLine)(ScrnInfoPtr pScrn, int x1, int y1, int e1, int e2, int err, int length, int octant); +static void A(SubsequentSolidBresenhamLine6422)(ScrnInfoPtr pScrn, int x1, int y1, int e1, int e2, int err, int length, int octant); static void A(SetClippingRectangle)(ScrnInfoPtr pScrn, int x1, int y1, int x2, int y2); static void A(WritePixmap)(ScrnInfoPtr pScrn, int x, int y, int w, int h, unsigned char *src, int srcwidth, int rop, |