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/agp/agp.c:910:16: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
agp_find_device()
^
void
This is because agp_find_device() is declared with a (void) argument
list, and defined with an empty argument list. Make the definition match
the declaration.
MFC after: 3 days
|
||
|---|---|---|
| .. | ||
| agp.c | ||
| agp_ali.c | ||
| agp_amd.c | ||
| agp_amd64.c | ||
| agp_apple.c | ||
| agp_ati.c | ||
| agp_i810.c | ||
| agp_i810.h | ||
| agp_if.m | ||
| agp_intel.c | ||
| agp_nvidia.c | ||
| agp_sis.c | ||
| agp_via.c | ||
| agppriv.h | ||
| agpreg.h | ||
| agpvar.h | ||