VirtualBox

Ignore:
Timestamp:
Mar 15, 2019 11:37:18 AM (6 years ago)
Author:
vboxsync
Message:

Drivers/Linux: add missing init and exit markers.
bugref:4567: Linux kernel driver maintenance.
Building against linux-next, we get some ugly warnings in vboxpci, vboxnetflt
and vboxnetadp (...)
Fortunately, the fix is simple - match the forward definition:s attributes to
the target attributes. I am not sure why vboxdrv does not throw a warning, but
we will swat it there as well while we are at it.
Michael: do VBoxGuest as well.
Thank you Valdis Klētnieks for the patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c

    r77718 r77722  
    6767*   Internal Functions                                                                                                           *
    6868*********************************************************************************************************************************/
    69 static int  VBoxPciLinuxInit(void);
    70 static void VBoxPciLinuxUnload(void);
     69static int  __init VBoxPciLinuxInit(void);
     70static void __exit VBoxPciLinuxUnload(void);
    7171
    7272
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette