Remove unused code

shader-damage
Andri Yngvason 2019-10-22 19:24:09 +00:00
parent 25187cbfb2
commit 529483a459
2 changed files with 0 additions and 3 deletions

View File

@ -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)

View File

@ -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)
{ {