diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-08-03 10:40:09 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-08-03 10:40:09 -0400 |
commit | 36fd84cc42ebb2933d24c2d3d4b84f3f32f065b0 (patch) | |
tree | 7982d1f38fcb3620372c1c8461de1450063e5355 /include | |
parent | Write to swaynag pipe fd directly on config errors (diff) | |
download | sway-36fd84cc42ebb2933d24c2d3d4b84f3f32f065b0.tar.gz sway-36fd84cc42ebb2933d24c2d3d4b84f3f32f065b0.tar.zst sway-36fd84cc42ebb2933d24c2d3d4b84f3f32f065b0.zip |
Remove swaynag_clone and use memcpy
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/swaynag.h | 4 |
1 files changed, 0 insertions, 4 deletions
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 { | |||
8 | bool detailed; | 8 | bool detailed; |
9 | }; | 9 | }; |
10 | 10 | ||
11 | // Copy all fields of one instance to another | ||
12 | void swaynag_clone(struct swaynag_instance *dest, | ||
13 | struct swaynag_instance *src); | ||
14 | |||
15 | // Spawn swaynag. If swaynag->detailed, then swaynag->fd[1] will left open | 11 | // Spawn swaynag. If swaynag->detailed, then swaynag->fd[1] will left open |
16 | // so it can be written to. Call swaynag_show when done writing. This will | 12 | // so it can be written to. Call swaynag_show when done writing. This will |
17 | // be automatically called by swaynag_log if the instance is not spawned and | 13 | // be automatically called by swaynag_log if the instance is not spawned and |