aboutsummaryrefslogtreecommitdiff
path: root/sway/swaynag.c
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2018-08-03 10:40:09 -0400
committerBrian Ashworth <bosrsf04@gmail.com>2018-08-03 10:40:09 -0400
commit36fd84cc42ebb2933d24c2d3d4b84f3f32f065b0 (patch)
tree7982d1f38fcb3620372c1c8461de1450063e5355 /sway/swaynag.c
parenta7f7d4a488c8d3b2461122765f9904c8a411a583 (diff)
Remove swaynag_clone and use memcpy
Diffstat (limited to 'sway/swaynag.c')
-rw-r--r--sway/swaynag.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sway/swaynag.c b/sway/swaynag.c
index 2dc0cb21..f5370807 100644
--- a/sway/swaynag.c
+++ b/sway/swaynag.c
@@ -8,15 +8,6 @@
#include "log.h"
#include "sway/swaynag.h"
-void swaynag_clone(struct swaynag_instance *dest,
- struct swaynag_instance *src) {
- dest->args = src->args;
- dest->pid = src->pid;
- dest->fd[0] = src->fd[0];
- dest->fd[1] = src->fd[1];
- dest->detailed = src->detailed;
-}
-
bool swaynag_spawn(const char *swaynag_command,
struct swaynag_instance *swaynag) {
if (swaynag->detailed) {