VirtualBox

Changeset 85124 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jul 8, 2020 9:13:30 PM (4 years ago)
Author:
vboxsync
Message:

*: Use DECL_HIDDEN_DATA for data, DECLHIDDEN will soon be exclusively for functions. bugref:9794

Location:
trunk/src/VBox/Additions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-darwin.cpp

    r82968 r85124  
    192192
    193193KMOD_EXPLICIT_DECL(VBoxGuest, VBOX_VERSION_STRING, _start, _stop)
    194 DECLHIDDEN(kmod_start_func_t *) _realmain = vgdrvDarwinStart;
    195 DECLHIDDEN(kmod_stop_func_t *)  _antimain = vgdrvDarwinStop;
    196 DECLHIDDEN(int)                 _kext_apple_cc = __APPLE_CC__;
     194DECL_HIDDEN_DATA(kmod_start_func_t *) _realmain = vgdrvDarwinStart;
     195DECL_HIDDEN_DATA(kmod_stop_func_t *)  _antimain = vgdrvDarwinStop;
     196DECL_HIDDEN_DATA(int)                 _kext_apple_cc = __APPLE_CC__;
    197197RT_C_DECLS_END
    198198
  • trunk/src/VBox/Additions/darwin/VBoxSF/VBoxSF.cpp

    r82968 r85124  
    7979
    8080KMOD_EXPLICIT_DECL(VBoxSF, VBOX_VERSION_STRING, _start, _stop)
    81 DECLHIDDEN(kmod_start_func_t *) _realmain      = vboxSfDwnModuleLoad;
    82 DECLHIDDEN(kmod_stop_func_t *)  _antimain      = vboxSfDwnModuleUnload;
    83 DECLHIDDEN(int)                 _kext_apple_cc = __APPLE_CC__;
     81DECL_HIDDEN_DATA(kmod_start_func_t *) _realmain      = vboxSfDwnModuleLoad;
     82DECL_HIDDEN_DATA(kmod_stop_func_t *)  _antimain      = vboxSfDwnModuleUnload;
     83DECL_HIDDEN_DATA(int)                 _kext_apple_cc = __APPLE_CC__;
    8484RT_C_DECLS_END
    8585
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