Remove unused code
parent
25187cbfb2
commit
529483a459
|
@ -295,7 +295,6 @@ int init_nvnc(struct wayvnc* self, const char* addr, uint16_t port)
|
||||||
int wayvnc_start_capture(struct wayvnc* self)
|
int wayvnc_start_capture(struct wayvnc* self)
|
||||||
{
|
{
|
||||||
return frame_capture_start(self->capture_backend);
|
return frame_capture_start(self->capture_backend);
|
||||||
// return dmabuf_capture_start(&self->dmabuf_backend);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void on_damage_check_done(struct pixman_region16* damage, void* userdata)
|
void on_damage_check_done(struct pixman_region16* damage, void* userdata)
|
||||||
|
|
|
@ -24,8 +24,6 @@
|
||||||
* chars will be copied. Always NUL terminates (unless dsize == 0).
|
* chars will be copied. Always NUL terminates (unless dsize == 0).
|
||||||
* Returns strlen(src); if retval >= dsize, truncation occurred.
|
* Returns strlen(src); if retval >= dsize, truncation occurred.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
__attribute__((visibility("default")))
|
|
||||||
size_t
|
size_t
|
||||||
strlcpy(char *dst, const char *src, size_t dsize)
|
strlcpy(char *dst, const char *src, size_t dsize)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue