Ignore:
Timestamp:
Nov 24, 2007, 12:08:21 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Added as many "const" qualifiers as possible to the public API.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/driver_x11.c

    r2040 r2043  
    275275}
    276276
    277 static unsigned int x11_get_display_width(caca_display_t *dp)
     277static unsigned int x11_get_display_width(caca_display_t const *dp)
    278278{
    279279    return dp->cv->width * dp->drv.p->font_width;
    280280}
    281281
    282 static unsigned int x11_get_display_height(caca_display_t *dp)
     282static unsigned int x11_get_display_height(caca_display_t const *dp)
    283283{
    284284    return dp->cv->height * dp->drv.p->font_height;
Note: See TracChangeset for help on using the changeset viewer.