From 529483a459687e68a8345184a0e75d1a71fc42c1 Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Tue, 22 Oct 2019 19:24:09 +0000 Subject: [PATCH] Remove unused code --- src/main.c | 1 - src/strlcpy.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/main.c b/src/main.c index bd9fb1c..0d92f71 100644 --- a/src/main.c +++ b/src/main.c @@ -295,7 +295,6 @@ int init_nvnc(struct wayvnc* self, const char* addr, uint16_t port) int wayvnc_start_capture(struct wayvnc* self) { 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) diff --git a/src/strlcpy.c b/src/strlcpy.c index d386b60..6301674 100644 --- a/src/strlcpy.c +++ b/src/strlcpy.c @@ -24,8 +24,6 @@ * chars will be copied. Always NUL terminates (unless dsize == 0). * Returns strlen(src); if retval >= dsize, truncation occurred. */ - -__attribute__((visibility("default"))) size_t strlcpy(char *dst, const char *src, size_t dsize) {