From 36fd84cc42ebb2933d24c2d3d4b84f3f32f065b0 Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Fri, 3 Aug 2018 10:40:09 -0400 Subject: Remove swaynag_clone and use memcpy --- include/sway/swaynag.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include') diff --git a/include/sway/swaynag.h b/include/sway/swaynag.h index ac0086a1..5a178739 100644 --- a/include/sway/swaynag.h +++ b/include/sway/swaynag.h @@ -8,10 +8,6 @@ struct swaynag_instance { bool detailed; }; -// Copy all fields of one instance to another -void swaynag_clone(struct swaynag_instance *dest, - struct swaynag_instance *src); - // Spawn swaynag. If swaynag->detailed, then swaynag->fd[1] will left open // so it can be written to. Call swaynag_show when done writing. This will // be automatically called by swaynag_log if the instance is not spawned and -- cgit v1.2.3-54-g00ecf