mirror of
https://github.com/opnsense/src.git
synced 2026-02-13 07:44:48 -05:00
Clang generates the following warnings when building subr_usbd.c: | subr_usbd.c:598:13: warning: promoted type 'int' of K&R function | parameter is not compatible with the parameter type 'uint8_t' (aka | 'unsigned char') declared in a previous prototype | subr_usbd.c:627:13: warning: promoted type 'int' of K&R function | parameter is not compatible with the parameter type 'uint8_t' (aka | 'unsigned char') declared in a previous prototype | subr_usbd.c:649:13: warning: promoted type 'int' of K&R function | parameter is not compatible with the parameter type 'uint8_t' (aka | 'unsigned char') declared in a previous prototype Instead of just ANSIfying these three prototypes, do it for the entire file. Spotted by: clang |
||
|---|---|---|
| .. | ||
| cfg_var.h | ||
| hal_var.h | ||
| kern_ndis.c | ||
| kern_windrv.c | ||
| ndis_var.h | ||
| ntoskrnl_var.h | ||
| pe_var.h | ||
| resource_var.h | ||
| subr_hal.c | ||
| subr_ndis.c | ||
| subr_ntoskrnl.c | ||
| subr_pe.c | ||
| subr_usbd.c | ||
| usbd_var.h | ||
| winx32_wrap.S | ||
| winx64_wrap.S | ||