Changeset 8565a42 in mainline for uspace/lib/c/include/io


Ignore:
Timestamp:
2018-03-02T20:34:50Z (7 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1a81f69, d5e5fd1
Parents:
3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
git-committer:
GitHub <noreply@…> (2018-03-02 20:34:50)
Message:

Remove all trailing whitespace, everywhere.

See individual commit messages for details.

Location:
uspace/lib/c/include/io
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/io/charfield.h

    r3061bc1 r8565a42  
    8686        if (a1.type != a2.type)
    8787                return false;
    88        
     88
    8989        switch (a1.type) {
    9090        case CHAR_ATTR_STYLE:
     
    9898                    && (a1.val.rgb.fgcolor == a2.val.rgb.fgcolor);
    9999        }
    100        
     100
    101101        return false;
    102102}
  • uspace/lib/c/include/io/chargrid.h

    r3061bc1 r8565a42  
    4949        size_t size;            /**< Structure size */
    5050        chargrid_flag_t flags;  /**< Screenbuffer flags */
    51        
     51
    5252        sysarg_t cols;          /**< Number of columns */
    5353        sysarg_t rows;          /**< Number of rows */
    54        
     54
    5555        sysarg_t col;           /**< Current column */
    5656        sysarg_t row;           /**< Current row */
    5757        bool cursor_visible;    /**< Cursor visibility */
    58        
     58
    5959        char_attrs_t attrs;     /**< Current attributes */
    60        
     60
    6161        sysarg_t top_row;       /**< The first row in the cyclic buffer */
    6262        charfield_t data[];     /**< Screen contents (cyclic buffer) */
  • uspace/lib/c/include/io/console.h

    r3061bc1 r8565a42  
    4949        /** Console input file */
    5050        FILE *input;
    51        
     51
    5252        /** Console output file */
    5353        FILE *output;
    54        
     54
    5555        /** Console input session */
    5656        async_sess_t *input_sess;
    57        
     57
    5858        /** Console output session */
    5959        async_sess_t *output_sess;
    60        
     60
    6161        /** Input request call with timeout */
    6262        ipc_call_t input_call;
    63        
     63
    6464        /** Input response with timeout */
    6565        aid_t input_aid;
  • uspace/lib/c/include/io/kbd_event.h

    r3061bc1 r8565a42  
    4848        /** List handle */
    4949        link_t link;
    50        
     50
    5151        /** Press or release event. */
    5252        kbd_event_type_t type;
    53        
     53
    5454        /** Keycode of the key that was pressed or released. */
    5555        keycode_t key;
    56        
     56
    5757        /** Bitmask of modifiers held. */
    5858        keymod_t mods;
    59        
     59
    6060        /** The character that was generated or '\0' for none. */
    6161        wchar_t c;
  • uspace/lib/c/include/io/keycode.h

    r3061bc1 r8565a42  
    9393
    9494        KC_CAPS_LOCK,
    95        
     95
    9696        KC_A,
    9797        KC_S,
     
    199199        KC_N0,
    200200        KC_NPERIOD
    201        
     201
    202202} keycode_t;
    203203
     
    212212        KM_NUM_LOCK    = 0x080,
    213213        KM_SCROLL_LOCK = 0x100,
    214        
     214
    215215        KM_SHIFT       = KM_LSHIFT | KM_RSHIFT,
    216216        KM_CTRL        = KM_LCTRL | KM_RCTRL,
  • uspace/lib/c/include/io/mode.h

    r3061bc1 r8565a42  
    5555        sysarg_t index;
    5656        sysarg_t version;
    57        
     57
    5858        sysarg_t refresh_rate;
    5959        aspect_ratio_t screen_aspect;
    6060        sysarg_t screen_width;
    6161        sysarg_t screen_height;
    62        
     62
    6363        aspect_ratio_t cell_aspect;
    6464        cell_visual_t cell_visual;
  • uspace/lib/c/include/io/pixelmap.h

    r3061bc1 r8565a42  
    4747        /* Pixels outside of a pixmap are PIXEL(0, 0, 0, 0) */
    4848        PIXELMAP_EXTEND_TRANSPARENT_BLACK = 0,
    49        
     49
    5050        /* The pixmap is repeated infinetely */
    5151        PIXELMAP_EXTEND_TILE,
    52        
     52
    5353        /* If outside of a pixmap, return closest pixel from the edge */
    5454        PIXELMAP_EXTEND_SIDES,
    55        
     55
    5656        /* If outside of a pixmap, return closest pixel from the edge,
    5757         * with alpha = 0
     
    125125                        transparent = transparent_outside;
    126126                }
    127                
     127
    128128                if (y < 0) {
    129129                        y = 0;
     
    135135                }
    136136        }
    137        
     137
    138138        if (x < 0 || ((sysarg_t) x) >= pixmap->width ||
    139139            y < 0 || ((sysarg_t) y) >= pixmap->height)
     
    141141
    142142        pixel_t pixel = pixelmap_get_pixel(pixmap, x, y);
    143        
     143
    144144        if (transparent)
    145145                pixel = PIXEL(0, RED(pixel), GREEN(pixel), BLUE(pixel));
    146        
     146
    147147        return pixel;
    148148}
  • uspace/lib/c/include/io/printf_core.h

    r3061bc1 r8565a42  
    4343        /* String output function, returns number of printed characters or EOF */
    4444        int (*str_write)(const char *, size_t, void *);
    45        
     45
    4646        /* Wide string output function, returns number of printed characters or EOF */
    4747        int (*wstr_write)(const wchar_t *, size_t, void *);
    48        
     48
    4949        /* User data - output stream specification, state, locks, etc. */
    5050        void *data;
Note: See TracChangeset for help on using the changeset viewer.