Ignore:
File:
1 edited

Legend:

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

    rb688fd8 r1d6dd2a  
    3535#include <inttypes.h>
    3636#include <io/log.h>
     37#include <str.h>
    3738#include <task.h>
    3839
     
    5253static rfb_t rfb;
    5354
    54 static int rfb_claim(visualizer_t *vs)
    55 {
    56         return EOK;
    57 }
    58 
    59 static int rfb_yield(visualizer_t *vs)
    60 {
    61         return EOK;
    62 }
    63 
    64 static int rfb_suspend(visualizer_t *vs)
    65 {
    66         return EOK;
    67 }
    68 
    69 static int rfb_wakeup(visualizer_t *vs)
    70 {
    71         return EOK;
    72 }
    73 
    74 static int rfb_handle_damage_pixels(visualizer_t *vs,
     55static errno_t rfb_claim(visualizer_t *vs)
     56{
     57        return EOK;
     58}
     59
     60static errno_t rfb_yield(visualizer_t *vs)
     61{
     62        return EOK;
     63}
     64
     65static errno_t rfb_suspend(visualizer_t *vs)
     66{
     67        return EOK;
     68}
     69
     70static errno_t rfb_wakeup(visualizer_t *vs)
     71{
     72        return EOK;
     73}
     74
     75static errno_t rfb_handle_damage_pixels(visualizer_t *vs,
    7576    sysarg_t x0, sysarg_t y0, sysarg_t width, sysarg_t height,
    7677    sysarg_t x_offset, sysarg_t y_offset)
     
    126127}
    127128
    128 static int rfb_change_mode(visualizer_t *vs, vslmode_t new_mode)
     129static errno_t rfb_change_mode(visualizer_t *vs, vslmode_t new_mode)
    129130{
    130131        return EOK;
     
    217218        async_set_fallback_port_handler(client_connection, NULL);
    218219
    219         int rc = loc_server_register(NAME);
     220        errno_t rc = loc_server_register(NAME);
    220221        if (rc != EOK) {
    221222                printf("%s: Unable to register server.\n", NAME);
Note: See TracChangeset for help on using the changeset viewer.