From cb5e666d8f8c382f5eca7204f0e0772489b26cb7 Mon Sep 17 00:00:00 2001 From: Thomas Zimmermann Date: Tue, 9 Aug 2016 18:15:25 +0200 Subject: dbus-launch: Protect |concat2| by DBUS_ENABLE_EMBEDDED_TESTS Signed-off-by: Thomas Zimmermann --- tools/dbus-launch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/dbus-launch.c b/tools/dbus-launch.c index 3d388fb..93b8171 100644 --- a/tools/dbus-launch.c +++ b/tools/dbus-launch.c @@ -205,6 +205,7 @@ xstrdup (const char *str) return copy; } +#ifdef DBUS_ENABLE_EMBEDDED_TESTS static char * concat2 (const char *a, const char *b) @@ -224,6 +225,7 @@ concat2 (const char *a, memcpy (ret + la, b, lb + 1); return ret; } +#endif /* DBUS_ENABLE_EMBEDDED_TESTS */ typedef enum { -- 2.7.4