]> granicus.if.org Git - graphviz/commit
rephrase some swapping code
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 22 Oct 2020 00:05:01 +0000 (17:05 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 29 Oct 2020 00:13:12 +0000 (17:13 -0700)
commit60fcdde6cf8bbb015e4801f5e13218a3c9bc07c6
tree51f9dd5f68f64554737c20d4b4784882e2e877ed
parentc898c62b0e89868293569e5085d4e862e78ea42d
rephrase some swapping code

C allows you to assign structs in this way, so there's no need to use a more
confusing memcpy sequence.
lib/sfio/sfswap.c