sd-device: use strjoin instead of asprintf
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 16 Jul 2020 13:20:57 +0000 (15:20 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 16 Jul 2020 16:38:03 +0000 (18:38 +0200)
commitfe20121a4c36bdd26465b22805016e4596457881
treecc0929294fc3004d758aa702db9e5f98116b84a8
parent22ba4525d3f23c2a4efeab2c72716affb4a1f134
sd-device: use strjoin instead of asprintf

strjoin should be faster for string concatenation.
Also drop "_"-prefix from function prototypes.
src/libsystemd/sd-device/device-internal.h
src/libsystemd/sd-device/sd-device.c