]> git.puffer.fish Git - mirror/frr.git/commit
lib: Refactor read/write functionality
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 4 Mar 2016 02:14:13 +0000 (02:14 +0000)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 4 Mar 2016 17:33:56 +0000 (12:33 -0500)
commit8dadcae7301a2b38cbf2f539cc9c727d5477edac
tree5513feca789349e62994576429b292bac64c7203
parent209a72a66affadeee952b423da85ab9f4771806c
lib: Refactor read/write functionality

Both the read and write functions used the same code
slightly modified for reading and writing.  Combine this
code together.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/thread.c
lib/thread.h