Changeset dc5c303 in mainline for uspace/srv/hid/rfb/main.c
- Timestamp:
- 2023-12-28T13:59:23Z (15 months ago)
- Children:
- 6b66de6b
- Parents:
- 42c2e65 (diff), f87ff8e (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:
- boba-buba <120932204+boba-buba@…> (2023-12-28 13:59:23)
- git-committer:
- GitHub <noreply@…> (2023-12-28 13:59:23)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/rfb/main.c
r42c2e65 rdc5c303 1 1 /* 2 * Copyright (c) 202 1Jiri Svoboda2 * Copyright (c) 2023 Jiri Svoboda 3 3 * Copyright (c) 2013 Martin Sucha 4 4 * All rights reserved. … … 443 443 { 444 444 rfb_t rfb; 445 loc_srv_t *srv; 445 446 446 447 log_init(NAME); … … 482 483 async_set_fallback_port_handler(client_connection, &rfb); 483 484 484 errno_t rc = loc_server_register(NAME );485 errno_t rc = loc_server_register(NAME, &srv); 485 486 if (rc != EOK) { 486 487 printf("%s: Unable to register server.\n", NAME); … … 497 498 service_id_t service_id; 498 499 499 rc = loc_service_register(s ervice_name, &service_id);500 rc = loc_service_register(srv, service_name, &service_id); 500 501 if (rc != EOK) { 501 502 printf(NAME ": Unable to register service %s.\n", service_name); … … 512 513 } 513 514 514 rc = loc_service_add_to_cat(s ervice_id, ddev_cid);515 rc = loc_service_add_to_cat(srv, service_id, ddev_cid); 515 516 if (rc != EOK) { 516 517 fprintf(stderr, NAME ": Unable to add service to display device category.\n");
Note:
See TracChangeset
for help on using the changeset viewer.