aircrack-ng / rtl8812au

RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection
GNU General Public License v2.0
3.4k stars 749 forks source link

usb_intf.c: a parameter list without types #1117

Closed seppzer0 closed 3 months ago

seppzer0 commented 8 months ago

Hi.

I've been attempting to build this driver with latest changes pulled and I got an error (and a warning) with the following message:

../drivers/net/wireless/realtek/rtl8812au/os_dep/linux/usb_intf.c:1643:1: warning: declaration specifier missing, defaulting to 'int'
MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
^
int
../drivers/net/wireless/realtek/rtl8812au/os_dep/linux/usb_intf.c:1643:18: error: a parameter list without types is only allowed in a function definition
MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
                 ^
1 warning and 1 error generated.

I assume it is related to one of the two commits recently pushed to the repository.

Some context on my (NetHunter) build:

At the time of writing, I've rolled back and removed the last two commits in my local copy of the repository. I am currently unaware of how this issue can be fixed, but I thought I should let you know.

seppzer0 commented 3 months ago

Closing the issue due to no feedback whatsoever.