VirtualBox

Changeset 21096 in vbox for trunk


Ignore:
Timestamp:
Jun 30, 2009 6:55:45 PM (16 years ago)
Author:
vboxsync
Message:

Solaris/Drivers: Use RT_XSTR and spaces

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/solaris/SUPDrv-solaris.c

    r19271 r21096  
    6767*   Defined Constants And Macros                                               *
    6868*******************************************************************************/
    69 /** @todo this quoting macros probably should be moved to a common place.
    70   * The indirection is for expanding macros passed to the first macro. */
    71 #define VBOXSOLQUOTE2(x)         #x
    72 #define VBOXSOLQUOTE(x)          VBOXSOLQUOTE2(x)
    7369/** The module name. */
    7470#define DEVICE_NAME              "vboxdrv"
     
    145141{
    146142    &mod_driverops,         /* extern from kernel */
    147     DEVICE_DESC " " VBOX_VERSION_STRING "r" VBOXSOLQUOTE(VBOX_SVN_REV),
     143    DEVICE_DESC " " VBOX_VERSION_STRING "r" RT_XSTR(VBOX_SVN_REV),
    148144    &g_VBoxDrvSolarisDevOps
    149145};
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/solaris/VBoxNetFlt-solaris.c

    r21078 r21096  
    9090*   Defined Constants And Macros                                               *
    9191*******************************************************************************/
    92 #define VBOXSOLQUOTE2(x)         #x
    93 #define VBOXSOLQUOTE(x)          VBOXSOLQUOTE2(x)
    9492/** The module name. */
    9593#define DEVICE_NAME              "vboxflt"
     
    230228{
    231229    &mod_driverops,                 /* extern from kernel */
    232     DEVICE_DESC_DRV " " VBOX_VERSION_STRING "r" VBOXSOLQUOTE(VBOX_SVN_REV),
     230    DEVICE_DESC_DRV " " VBOX_VERSION_STRING "r" RT_XSTR(VBOX_SVN_REV),
    233231    &g_VBoxNetFltSolarisDevOps
    234232};
     
    250248{
    251249    &mod_strmodops,                 /* extern from kernel */
    252     DEVICE_DESC_MOD " " VBOX_VERSION_STRING "r" VBOXSOLQUOTE(VBOX_SVN_REV),
     250    DEVICE_DESC_MOD " " VBOX_VERSION_STRING "r" RT_XSTR(VBOX_SVN_REV),
    253251    &g_VBoxNetFltSolarisModOps
    254252};
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