libusbgx: Use dedicated macro instead of copy-paste code.
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Wed, 19 Feb 2014 20:16:58 +0000 (21:16 +0100)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 22 Dec 2015 19:33:56 +0000 (20:33 +0100)
commit95d6b5fd9d32a30a8b20277288eec8c750790a02
treedd5ba06f9cbd3a12aa1a0b6b6c31b5a7c717a54e
parente9f314a78af9d1c4644f6f1f11ea351e2d193d7f
libusbgx: Use dedicated macro instead of copy-paste code.

Insterting in string order has been done few times.
It was almost the same piece of code copied and pasted with
some minor changes. All those pieces has been replaced with
new macro INSERT_TAILQ_STRING_ORDER which does all the job.

Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
[Port from libusbg and update description]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
src/usbg.c