Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/rfb/main.c

    r1d6dd2a rb688fd8  
    3535#include <inttypes.h>
    3636#include <io/log.h>
    37 #include <str.h>
    3837#include <task.h>
    3938
     
    5352static rfb_t rfb;
    5453
    55 static errno_t rfb_claim(visualizer_t *vs)
    56 {
    57         return EOK;
    58 }
    59 
    60 static errno_t rfb_yield(visualizer_t *vs)
    61 {
    62         return EOK;
    63 }
    64 
    65 static errno_t rfb_suspend(visualizer_t *vs)
    66 {
    67         return EOK;
    68 }
    69 
    70 static errno_t rfb_wakeup(visualizer_t *vs)
    71 {
    72         return EOK;
    73 }
    74 
    75 static errno_t rfb_handle_damage_pixels(visualizer_t *vs,
     54static int rfb_claim(visualizer_t *vs)
     55{
     56        return EOK;
     57}
     58
     59static int rfb_yield(visualizer_t *vs)
     60{
     61        return EOK;
     62}
     63
     64static int rfb_suspend(visualizer_t *vs)
     65{
     66        return EOK;
     67}
     68
     69static int rfb_wakeup(visualizer_t *vs)
     70{
     71        return EOK;
     72}
     73
     74static int rfb_handle_damage_pixels(visualizer_t *vs,
    7675    sysarg_t x0, sysarg_t y0, sysarg_t width, sysarg_t height,
    7776    sysarg_t x_offset, sysarg_t y_offset)
     
    127126}
    128127
    129 static errno_t rfb_change_mode(visualizer_t *vs, vslmode_t new_mode)
     128static int rfb_change_mode(visualizer_t *vs, vslmode_t new_mode)
    130129{
    131130        return EOK;
     
    218217        async_set_fallback_port_handler(client_connection, NULL);
    219218
    220         errno_t rc = loc_server_register(NAME);
     219        int rc = loc_server_register(NAME);
    221220        if (rc != EOK) {
    222221                printf("%s: Unable to register server.\n", NAME);
Note: See TracChangeset for help on using the changeset viewer.