VirtualBox

Ignore:
Timestamp:
Aug 15, 2016 2:17:54 PM (8 years ago)
Author:
vboxsync
Message:

Devices: warnings (clang)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r63478 r63480  
    340340}
    341341
     342#ifdef IN_RING3
    342343/**
    343344 * Reset dirty flags in a give range.
     
    354355    ASMBitClearRange(&pThis->au32DirtyBitmap[0], offVRAMStart >> PAGE_SHIFT, offVRAMEnd >> PAGE_SHIFT);
    355356}
     357#endif /* IN_RING3 */
    356358
    357359#ifdef _MSC_VER
     
    447449#endif
    448450
     451#ifdef IN_RING3
     452
    449453static const uint32_t dmask16[16] = {
    450454    PAT(0x00000000),
     
    473477};
    474478
    475 #if defined(IN_RING3)
    476479static uint32_t expand4[256];
    477480static uint16_t expand2[256];
    478481static uint8_t expand4to8[16];
     482
    479483#endif /* IN_RING3 */
    480484
     
    15181522}
    15191523
    1520 #if defined(IN_RING3)
     1524#ifdef IN_RING3
     1525
    15211526typedef void vga_draw_glyph8_func(uint8_t *d, int linesize,
    15221527                                  const uint8_t *font_ptr, int h,
     
    21522157}
    21532158
    2154 #ifdef VBOX_WITH_VMSVGA
     2159# ifdef VBOX_WITH_VMSVGA
     2160
    21552161int vgaR3UpdateDisplay(VGAState *s, unsigned xStart, unsigned yStart, unsigned cx, unsigned cy)
    21562162{
     
    23322338    return VINF_SUCCESS;
    23332339}
    2334 #endif /* VBOX_WITH_VMSVGA */
     2340
     2341# endif /* VBOX_WITH_VMSVGA */
    23352342
    23362343/*
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