2026-05-05 21:49 ftp://ftp.de.debian.org/debian/pool/main/x/xdu/xdu_3.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: 6278f6b (2026-05-05 15:01:04 +0200) count: 125 63 elapsed-time: 0.3 0.2 head-timing-info: old-timing-info: head results: xdu-3.0.orig/xdu.c:194:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xdu-3.0.orig/xdu.c:488:1: portability: Omitted return type of function 'drawnode' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xdu-3.0.orig/xdu.c:517:1: portability: Omitted return type of function 'drawchildren' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xdu-3.0.orig/xdu.c:595:1: portability: Omitted return type of function 'pwd' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xdu-3.0.orig/xdu.c:203:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] xdu-3.0.orig/xdu.c:240:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] xdu-3.0.orig/xdu.c:345:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xdu-3.0.orig/xdu.c:360:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xdu-3.0.orig/xdu.c:728:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xdu-3.0.orig/xdu.c:758:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xdu-3.0.orig/xdu.c:659:2: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] xdu-3.0.orig/xdu.c:728:3: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] xdu-3.0.orig/xdu.c:758:2: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] xdu-3.0.orig/xdu.c:276:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] xdu-3.0.orig/xdu.c:277:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] xdu-3.0.orig/xdu.c:442:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] xdu-3.0.orig/xdu.c:621:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] xdu-3.0.orig/xdu.c:751:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] xdu-3.0.orig/xdu.c:248:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xdu-3.0.orig/xdu.c:99:2: warning: If memory allocation fails, then there is a possible null pointer dereference: np [nullPointerOutOfMemory] xdu-3.0.orig/xdu.c:98:28: note: Assuming allocation function fails xdu-3.0.orig/xdu.c:98:7: note: Assignment 'np=(struct node*)calloc(1,sizeof(struct node))', assigned value is 0 xdu-3.0.orig/xdu.c:99:2: note: Null pointer dereference xdu-3.0.orig/xdu.c:100:2: warning: If memory allocation fails, then there is a possible null pointer dereference: np [nullPointerOutOfMemory] xdu-3.0.orig/xdu.c:98:28: note: Assuming allocation function fails xdu-3.0.orig/xdu.c:98:7: note: Assignment 'np=(struct node*)calloc(1,sizeof(struct node))', assigned value is 0 xdu-3.0.orig/xdu.c:100:2: note: Null pointer dereference xdu-3.0.orig/xdu.c:101:2: warning: If memory allocation fails, then there is a possible null pointer dereference: np [nullPointerOutOfMemory] xdu-3.0.orig/xdu.c:98:28: note: Assuming allocation function fails xdu-3.0.orig/xdu.c:98:7: note: Assignment 'np=(struct node*)calloc(1,sizeof(struct node))', assigned value is 0 xdu-3.0.orig/xdu.c:101:2: note: Null pointer dereference xdu-3.0.orig/xdu.c:634:9: warning: If memory allocation fails, then there is a possible null pointer dereference: cp [nullPointerOutOfMemory] xdu-3.0.orig/xdu.c:633:13: note: Assuming allocation function fails xdu-3.0.orig/xdu.c:633:13: note: Assignment 'cp=malloc(n+1)', assigned value is 0 xdu-3.0.orig/xdu.c:634:9: note: Null pointer dereference xdu-3.0.orig/xdu.c:232:7: style:inconclusive: Function 'parse_file' argument 1 names different: declaration '' definition 'filename'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xdu.c:258:7: style:inconclusive: Function 'parse_entry' argument 1 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xdu.c:259:5: style:inconclusive: Function 'parse_entry' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xdu.c:394:14: style:inconclusive: Function 'addtree' argument 1 names different: declaration '' definition 'top'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xdu.c:395:7: style:inconclusive: Function 'addtree' argument 2 names different: declaration '' definition 'path'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xdu.c:396:5: style:inconclusive: Function 'addtree' argument 3 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xdu.c:433:14: style:inconclusive: Function 'dumptree' argument 1 names different: declaration '' definition 'np'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xdu.c:434:5: style:inconclusive: Function 'dumptree' argument 2 names different: declaration '' definition 'level'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xdu.c:450:14: style:inconclusive: Function 'sorttree' argument 1 names different: declaration '' definition 'np'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xdu.c:451:5: style:inconclusive: Function 'sorttree' argument 2 names different: declaration '' definition 'order'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xdu.c:577:14: style:inconclusive: Function 'clearrects' argument 1 names different: declaration '' definition 'nodep'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xdu.c:627:7: style:inconclusive: Function 'strdup' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xdu.c:643:5: style:inconclusive: Function 'press' argument 1 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xdu.c:643:8: style:inconclusive: Function 'press' argument 2 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xdu.c:673:5: style:inconclusive: Function 'repaint' argument 1 names different: declaration '' definition 'width'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xdu.c:673:12: style:inconclusive: Function 'repaint' argument 2 names different: declaration '' definition 'height'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xdu.c:692:7: style:inconclusive: Function 'setorder' argument 1 names different: declaration '' definition 'op'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xdu.c:734:7: style:inconclusive: Function 'reorder' argument 1 names different: declaration '' definition 'op'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xdu.c:526:6: style: Local variable 'top' shadows outer variable [shadowVariable] xdu-3.0.orig/xdu.c:83:3: note: Shadowed declaration xdu-3.0.orig/xdu.c:526:6: note: Shadow variable xdu-3.0.orig/xdu.c:141:14: style: Parameter 'nodep' can be declared as pointer to const [constParameterPointer] xdu-3.0.orig/xdu.c:232:7: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] xdu-3.0.orig/xdu.c:308:14: style: Parameter 'n1' can be declared as pointer to const [constParameterPointer] xdu-3.0.orig/xdu.c:308:19: style: Parameter 'n2' can be declared as pointer to const [constParameterPointer] xdu-3.0.orig/xdu.c:627:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xdu-3.0.orig/xdu.c:692:7: style: Parameter 'op' can be declared as pointer to const [constParameterPointer] xdu-3.0.orig/xdu.c:744:15: style: Variable 'np' can be declared as pointer to const [constVariablePointer] xdu-3.0.orig/xdu.c:617:15: warning: Uninitialized variables: stack.name, stack.size, stack.num, stack.rect, stack.peer, stack.child, stack.parent [uninitvar] xdu-3.0.orig/xdu.c:608:12: note: Assuming condition is false xdu-3.0.orig/xdu.c:617:15: note: Uninitialized variables: stack.name, stack.size, stack.num, stack.rect, stack.peer, stack.child, stack.parent xdu-3.0.orig/xwin.c:352:1: portability: Omitted return type of function 'xmainloop' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xdu-3.0.orig/xwin.c:358:1: portability: Omitted return type of function 'xclear' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xdu-3.0.orig/xwin.c:363:1: portability: Omitted return type of function 'xrepaint' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xdu-3.0.orig/xwin.c:372:1: portability: Omitted return type of function 'xrepaint_noclear' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xdu-3.0.orig/xwin.c:380:1: portability: Omitted return type of function 'xdrawrect' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xdu-3.0.orig/xwin.c:194:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xdu-3.0.orig/xwin.c:222:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xdu-3.0.orig/xwin.c:311:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNtitle [valueFlowBailoutIncompleteVar] xdu-3.0.orig/xwin.c:423:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabNone [valueFlowBailoutIncompleteVar] xdu-3.0.orig/xwin.c:160:8: style:inconclusive: Function 'a_quit' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:161:9: style:inconclusive: Function 'a_quit' argument 2 names different: declaration '' definition 'event'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:162:9: style:inconclusive: Function 'a_quit' argument 3 names different: declaration '' definition 'params'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:163:11: style:inconclusive: Function 'a_quit' argument 4 names different: declaration '' definition 'num_params'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:170:8: style:inconclusive: Function 'a_goto' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:171:9: style:inconclusive: Function 'a_goto' argument 2 names different: declaration '' definition 'event'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:172:9: style:inconclusive: Function 'a_goto' argument 3 names different: declaration '' definition 'params'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:173:11: style:inconclusive: Function 'a_goto' argument 4 names different: declaration '' definition 'num_params'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:179:8: style:inconclusive: Function 'a_reset' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:180:9: style:inconclusive: Function 'a_reset' argument 2 names different: declaration '' definition 'event'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:181:9: style:inconclusive: Function 'a_reset' argument 3 names different: declaration '' definition 'params'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:182:11: style:inconclusive: Function 'a_reset' argument 4 names different: declaration '' definition 'num_params'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:188:8: style:inconclusive: Function 'a_reorder' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:189:9: style:inconclusive: Function 'a_reorder' argument 2 names different: declaration '' definition 'event'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:190:9: style:inconclusive: Function 'a_reorder' argument 3 names different: declaration '' definition 'params'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:191:11: style:inconclusive: Function 'a_reorder' argument 4 names different: declaration '' definition 'num_params'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:201:8: style:inconclusive: Function 'a_size' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:202:9: style:inconclusive: Function 'a_size' argument 2 names different: declaration '' definition 'event'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:203:9: style:inconclusive: Function 'a_size' argument 3 names different: declaration '' definition 'params'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:204:11: style:inconclusive: Function 'a_size' argument 4 names different: declaration '' definition 'num_params'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:214:8: style:inconclusive: Function 'a_ncol' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:215:9: style:inconclusive: Function 'a_ncol' argument 2 names different: declaration '' definition 'event'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:216:9: style:inconclusive: Function 'a_ncol' argument 3 names different: declaration '' definition 'params'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:217:11: style:inconclusive: Function 'a_ncol' argument 4 names different: declaration '' definition 'num_params'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:235:8: style:inconclusive: Function 'a_info' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:236:9: style:inconclusive: Function 'a_info' argument 2 names different: declaration '' definition 'event'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:237:9: style:inconclusive: Function 'a_info' argument 3 names different: declaration '' definition 'params'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:238:11: style:inconclusive: Function 'a_info' argument 4 names different: declaration '' definition 'num_params'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:244:8: style:inconclusive: Function 'a_help' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:245:9: style:inconclusive: Function 'a_help' argument 2 names different: declaration '' definition 'event'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:246:9: style:inconclusive: Function 'a_help' argument 3 names different: declaration '' definition 'params'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:247:11: style:inconclusive: Function 'a_help' argument 4 names different: declaration '' definition 'num_params'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:254:8: style:inconclusive: Function 'a_removehelp' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:255:9: style:inconclusive: Function 'a_removehelp' argument 2 names different: declaration '' definition 'event'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:256:9: style:inconclusive: Function 'a_removehelp' argument 3 names different: declaration '' definition 'params'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:257:11: style:inconclusive: Function 'a_removehelp' argument 4 names different: declaration '' definition 'num_params'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:300:6: style:inconclusive: Function 'xsetup' argument 1 names different: declaration '' definition 'argcp'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:301:8: style:inconclusive: Function 'xsetup' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:381:7: style:inconclusive: Function 'xdrawrect' argument 1 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:382:5: style:inconclusive: Function 'xdrawrect' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:383:5: style:inconclusive: Function 'xdrawrect' argument 3 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:383:8: style:inconclusive: Function 'xdrawrect' argument 4 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:383:11: style:inconclusive: Function 'xdrawrect' argument 5 names different: declaration '' definition 'width'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:383:18: style:inconclusive: Function 'xdrawrect' argument 6 names different: declaration '' definition 'height'. [funcArgNamesDifferentUnnamed] xdu-3.0.orig/xwin.c:180:9: style: Parameter 'event' can be declared as pointer to const. However it seems that 'a_reset' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdu-3.0.orig/xwin.c:117:13: note: You might need to cast the function pointer here xdu-3.0.orig/xwin.c:180:9: note: Parameter 'event' can be declared as pointer to const xdu-3.0.orig/xwin.c:181:9: style: Parameter 'params' can be declared as pointer to const. However it seems that 'a_reset' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdu-3.0.orig/xwin.c:117:13: note: You might need to cast the function pointer here xdu-3.0.orig/xwin.c:181:9: note: Parameter 'params' can be declared as pointer to const xdu-3.0.orig/xwin.c:182:11: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'a_reset' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdu-3.0.orig/xwin.c:117:13: note: You might need to cast the function pointer here xdu-3.0.orig/xwin.c:182:11: note: Parameter 'num_params' can be declared as pointer to const xdu-3.0.orig/xwin.c:191:11: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'a_reorder' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdu-3.0.orig/xwin.c:120:15: note: You might need to cast the function pointer here xdu-3.0.orig/xwin.c:191:11: note: Parameter 'num_params' can be declared as pointer to const xdu-3.0.orig/xwin.c:202:9: style: Parameter 'event' can be declared as pointer to const. However it seems that 'a_size' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdu-3.0.orig/xwin.c:121:12: note: You might need to cast the function pointer here xdu-3.0.orig/xwin.c:202:9: note: Parameter 'event' can be declared as pointer to const xdu-3.0.orig/xwin.c:203:9: style: Parameter 'params' can be declared as pointer to const. However it seems that 'a_size' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdu-3.0.orig/xwin.c:121:12: note: You might need to cast the function pointer here xdu-3.0.orig/xwin.c:203:9: note: Parameter 'params' can be declared as pointer to const xdu-3.0.orig/xwin.c:204:11: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'a_size' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdu-3.0.orig/xwin.c:121:12: note: You might need to cast the function pointer here xdu-3.0.orig/xwin.c:204:11: note: Parameter 'num_params' can be declared as pointer to const xdu-3.0.orig/xwin.c:216:9: style: Parameter 'params' can be declared as pointer to const. However it seems that 'a_ncol' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdu-3.0.orig/xwin.c:122:12: note: You might need to cast the function pointer here xdu-3.0.orig/xwin.c:216:9: note: Parameter 'params' can be declared as pointer to const xdu-3.0.orig/xwin.c:217:11: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'a_ncol' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdu-3.0.orig/xwin.c:122:12: note: You might need to cast the function pointer here xdu-3.0.orig/xwin.c:217:11: note: Parameter 'num_params' can be declared as pointer to const xdu-3.0.orig/xwin.c:236:9: style: Parameter 'event' can be declared as pointer to const. However it seems that 'a_info' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdu-3.0.orig/xwin.c:123:12: note: You might need to cast the function pointer here xdu-3.0.orig/xwin.c:236:9: note: Parameter 'event' can be declared as pointer to const xdu-3.0.orig/xwin.c:237:9: style: Parameter 'params' can be declared as pointer to const. However it seems that 'a_info' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdu-3.0.orig/xwin.c:123:12: note: You might need to cast the function pointer here xdu-3.0.orig/xwin.c:237:9: note: Parameter 'params' can be declared as pointer to const xdu-3.0.orig/xwin.c:238:11: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'a_info' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdu-3.0.orig/xwin.c:123:12: note: You might need to cast the function pointer here xdu-3.0.orig/xwin.c:238:11: note: Parameter 'num_params' can be declared as pointer to const xdu-3.0.orig/xwin.c:245:9: style: Parameter 'event' can be declared as pointer to const. However it seems that 'a_help' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdu-3.0.orig/xwin.c:124:12: note: You might need to cast the function pointer here xdu-3.0.orig/xwin.c:245:9: note: Parameter 'event' can be declared as pointer to const xdu-3.0.orig/xwin.c:246:9: style: Parameter 'params' can be declared as pointer to const. However it seems that 'a_help' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdu-3.0.orig/xwin.c:124:12: note: You might need to cast the function pointer here xdu-3.0.orig/xwin.c:246:9: note: Parameter 'params' can be declared as pointer to const xdu-3.0.orig/xwin.c:247:11: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'a_help' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdu-3.0.orig/xwin.c:124:12: note: You might need to cast the function pointer here xdu-3.0.orig/xwin.c:247:11: note: Parameter 'num_params' can be declared as pointer to const xdu-3.0.orig/xwin.c:255:9: style: Parameter 'event' can be declared as pointer to const. However it seems that 'a_removehelp' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdu-3.0.orig/xwin.c:125:18: note: You might need to cast the function pointer here xdu-3.0.orig/xwin.c:255:9: note: Parameter 'event' can be declared as pointer to const xdu-3.0.orig/xwin.c:256:9: style: Parameter 'params' can be declared as pointer to const. However it seems that 'a_removehelp' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdu-3.0.orig/xwin.c:125:18: note: You might need to cast the function pointer here xdu-3.0.orig/xwin.c:256:9: note: Parameter 'params' can be declared as pointer to const xdu-3.0.orig/xwin.c:257:11: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'a_removehelp' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdu-3.0.orig/xwin.c:125:18: note: You might need to cast the function pointer here xdu-3.0.orig/xwin.c:257:11: note: Parameter 'num_params' can be declared as pointer to const xdu-3.0.orig/xwin.c:267:9: style: Parameter 'event' can be declared as pointer to const. However it seems that 'c_resize' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdu-3.0.orig/xwin.c:332:51: note: You might need to cast the function pointer here xdu-3.0.orig/xwin.c:267:9: note: Parameter 'event' can be declared as pointer to const xdu-3.0.orig/xwin.c:268:10: style: Parameter 'continue_to_dispatch' can be declared as pointer to const. However it seems that 'c_resize' is a callback function, if 'continue_to_dispatch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdu-3.0.orig/xwin.c:332:51: note: You might need to cast the function pointer here xdu-3.0.orig/xwin.c:268:10: note: Parameter 'continue_to_dispatch' can be declared as pointer to const xdu-3.0.orig/xwin.c:277:9: style: Parameter 'event' can be declared as pointer to const. However it seems that 'c_repaint' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdu-3.0.orig/xwin.c:331:44: note: You might need to cast the function pointer here xdu-3.0.orig/xwin.c:277:9: note: Parameter 'event' can be declared as pointer to const xdu-3.0.orig/xwin.c:278:10: style: Parameter 'continue_to_dispatch' can be declared as pointer to const. However it seems that 'c_repaint' is a callback function, if 'continue_to_dispatch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdu-3.0.orig/xwin.c:331:44: note: You might need to cast the function pointer here xdu-3.0.orig/xwin.c:278:10: note: Parameter 'continue_to_dispatch' can be declared as pointer to const diff: head xdu-3.0.orig/xdu.c:232:7: style:inconclusive: Function 'parse_file' argument 1 names different: declaration '' definition 'filename'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xdu.c:258:7: style:inconclusive: Function 'parse_entry' argument 1 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xdu.c:259:5: style:inconclusive: Function 'parse_entry' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xdu.c:394:14: style:inconclusive: Function 'addtree' argument 1 names different: declaration '' definition 'top'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xdu.c:395:7: style:inconclusive: Function 'addtree' argument 2 names different: declaration '' definition 'path'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xdu.c:396:5: style:inconclusive: Function 'addtree' argument 3 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xdu.c:433:14: style:inconclusive: Function 'dumptree' argument 1 names different: declaration '' definition 'np'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xdu.c:434:5: style:inconclusive: Function 'dumptree' argument 2 names different: declaration '' definition 'level'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xdu.c:450:14: style:inconclusive: Function 'sorttree' argument 1 names different: declaration '' definition 'np'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xdu.c:451:5: style:inconclusive: Function 'sorttree' argument 2 names different: declaration '' definition 'order'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xdu.c:577:14: style:inconclusive: Function 'clearrects' argument 1 names different: declaration '' definition 'nodep'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xdu.c:627:7: style:inconclusive: Function 'strdup' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xdu.c:643:5: style:inconclusive: Function 'press' argument 1 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xdu.c:643:8: style:inconclusive: Function 'press' argument 2 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xdu.c:673:12: style:inconclusive: Function 'repaint' argument 2 names different: declaration '' definition 'height'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xdu.c:673:5: style:inconclusive: Function 'repaint' argument 1 names different: declaration '' definition 'width'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xdu.c:692:7: style:inconclusive: Function 'setorder' argument 1 names different: declaration '' definition 'op'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xdu.c:734:7: style:inconclusive: Function 'reorder' argument 1 names different: declaration '' definition 'op'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:160:8: style:inconclusive: Function 'a_quit' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:161:9: style:inconclusive: Function 'a_quit' argument 2 names different: declaration '' definition 'event'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:162:9: style:inconclusive: Function 'a_quit' argument 3 names different: declaration '' definition 'params'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:163:11: style:inconclusive: Function 'a_quit' argument 4 names different: declaration '' definition 'num_params'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:170:8: style:inconclusive: Function 'a_goto' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:171:9: style:inconclusive: Function 'a_goto' argument 2 names different: declaration '' definition 'event'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:172:9: style:inconclusive: Function 'a_goto' argument 3 names different: declaration '' definition 'params'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:173:11: style:inconclusive: Function 'a_goto' argument 4 names different: declaration '' definition 'num_params'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:179:8: style:inconclusive: Function 'a_reset' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:180:9: style:inconclusive: Function 'a_reset' argument 2 names different: declaration '' definition 'event'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:181:9: style:inconclusive: Function 'a_reset' argument 3 names different: declaration '' definition 'params'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:182:11: style:inconclusive: Function 'a_reset' argument 4 names different: declaration '' definition 'num_params'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:188:8: style:inconclusive: Function 'a_reorder' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:189:9: style:inconclusive: Function 'a_reorder' argument 2 names different: declaration '' definition 'event'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:190:9: style:inconclusive: Function 'a_reorder' argument 3 names different: declaration '' definition 'params'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:191:11: style:inconclusive: Function 'a_reorder' argument 4 names different: declaration '' definition 'num_params'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:201:8: style:inconclusive: Function 'a_size' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:202:9: style:inconclusive: Function 'a_size' argument 2 names different: declaration '' definition 'event'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:203:9: style:inconclusive: Function 'a_size' argument 3 names different: declaration '' definition 'params'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:204:11: style:inconclusive: Function 'a_size' argument 4 names different: declaration '' definition 'num_params'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:214:8: style:inconclusive: Function 'a_ncol' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:215:9: style:inconclusive: Function 'a_ncol' argument 2 names different: declaration '' definition 'event'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:216:9: style:inconclusive: Function 'a_ncol' argument 3 names different: declaration '' definition 'params'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:217:11: style:inconclusive: Function 'a_ncol' argument 4 names different: declaration '' definition 'num_params'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:235:8: style:inconclusive: Function 'a_info' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:236:9: style:inconclusive: Function 'a_info' argument 2 names different: declaration '' definition 'event'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:237:9: style:inconclusive: Function 'a_info' argument 3 names different: declaration '' definition 'params'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:238:11: style:inconclusive: Function 'a_info' argument 4 names different: declaration '' definition 'num_params'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:244:8: style:inconclusive: Function 'a_help' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:245:9: style:inconclusive: Function 'a_help' argument 2 names different: declaration '' definition 'event'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:246:9: style:inconclusive: Function 'a_help' argument 3 names different: declaration '' definition 'params'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:247:11: style:inconclusive: Function 'a_help' argument 4 names different: declaration '' definition 'num_params'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:254:8: style:inconclusive: Function 'a_removehelp' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:255:9: style:inconclusive: Function 'a_removehelp' argument 2 names different: declaration '' definition 'event'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:256:9: style:inconclusive: Function 'a_removehelp' argument 3 names different: declaration '' definition 'params'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:257:11: style:inconclusive: Function 'a_removehelp' argument 4 names different: declaration '' definition 'num_params'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:300:6: style:inconclusive: Function 'xsetup' argument 1 names different: declaration '' definition 'argcp'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:301:8: style:inconclusive: Function 'xsetup' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:381:7: style:inconclusive: Function 'xdrawrect' argument 1 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:382:5: style:inconclusive: Function 'xdrawrect' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:383:11: style:inconclusive: Function 'xdrawrect' argument 5 names different: declaration '' definition 'width'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:383:18: style:inconclusive: Function 'xdrawrect' argument 6 names different: declaration '' definition 'height'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:383:5: style:inconclusive: Function 'xdrawrect' argument 3 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] head xdu-3.0.orig/xwin.c:383:8: style:inconclusive: Function 'xdrawrect' argument 4 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] DONE