Remove swaynag_clone and use memcpy

This commit is contained in:
Brian Ashworth 2018-08-03 10:40:09 -04:00
parent a7f7d4a488
commit 36fd84cc42
3 changed files with 3 additions and 15 deletions

View file

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