Changeset f0ccb2a in mainline for uspace/lib/ui/test/pbutton.c


Ignore:
Timestamp:
2021-04-09T22:41:22Z (3 years ago)
Author:
jxsvoboda <5887334+jxsvoboda@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4d2a4cd
Parents:
f536a16
git-author:
Jiri Svoboda <jiri@…> (2021-04-02 17:35:19)
git-committer:
jxsvoboda <5887334+jxsvoboda@…> (2021-04-09 22:41:22)
Message:

Fix libui unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/test/pbutton.c

    rf536a16 rf0ccb2a  
    11/*
    2  * Copyright (c) 2020 Jiri Svoboda
     2 * Copyright (c) 2021 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    4343static errno_t testgc_set_color(void *, gfx_color_t *);
    4444static errno_t testgc_fill_rect(void *, gfx_rect_t *);
     45static errno_t testgc_update(void *);
    4546static errno_t testgc_bitmap_create(void *, gfx_bitmap_params_t *,
    4647    gfx_bitmap_alloc_t *, void **);
     
    5253        .set_color = testgc_set_color,
    5354        .fill_rect = testgc_fill_rect,
     55        .update = testgc_update,
    5456        .bitmap_create = testgc_bitmap_create,
    5557        .bitmap_destroy = testgc_bitmap_destroy,
     
    499501        (void) arg;
    500502        (void) rect;
     503        return EOK;
     504}
     505
     506static errno_t testgc_update(void *arg)
     507{
     508        (void) arg;
    501509        return EOK;
    502510}
Note: See TracChangeset for help on using the changeset viewer.