mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 08:21:05 -05:00
With clang 15, the following -Werror warning is produced:
sys/dev/irdma/icrdma.c:621:26: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
irdma_prep_for_unregister()
^
void
This is because irdma_prep_for_unregister() is declared with a (void)
argument list, but defined with an empty argument list. Make the
definition match the declaration.
MFC after: 3 days
|
||
|---|---|---|
| .. | ||
| fbsd_kcompat.c | ||
| fbsd_kcompat.h | ||
| ice_devids.h | ||
| icrdma.c | ||
| icrdma_hw.c | ||
| icrdma_hw.h | ||
| irdma-abi.h | ||
| irdma.h | ||
| irdma_cm.c | ||
| irdma_cm.h | ||
| irdma_ctrl.c | ||
| irdma_defs.h | ||
| irdma_hmc.c | ||
| irdma_hmc.h | ||
| irdma_hw.c | ||
| irdma_kcompat.c | ||
| irdma_main.h | ||
| irdma_pble.c | ||
| irdma_pble.h | ||
| irdma_protos.h | ||
| irdma_puda.c | ||
| irdma_puda.h | ||
| irdma_type.h | ||
| irdma_uda.c | ||
| irdma_uda.h | ||
| irdma_uda_d.h | ||
| irdma_uk.c | ||
| irdma_user.h | ||
| irdma_utils.c | ||
| irdma_verbs.c | ||
| irdma_verbs.h | ||
| irdma_ws.c | ||
| irdma_ws.h | ||
| osdep.h | ||