From 10e4c496af09d7093bbe8487fcec49ec8dfe0bc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vivek=20Das=C2=A0Mohapatra?= <vivek@collabora.co.uk> Date: Mon, 15 May 2017 15:58:58 +0100 Subject: [PATCH] Formatting cleanups in generated stub library code. --- generate-stublib.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/generate-stublib.sh b/generate-stublib.sh index 362c693cc..490fb6686 100755 --- a/generate-stublib.sh +++ b/generate-stublib.sh @@ -60,7 +60,8 @@ static char *prefix; static void *dso; // should we exclude libpthread here? // in any case, these are DSOs we do _not_ want to isolate -static const char *exclude[] = { // MUST NOT be pulled from the capsule prefixed filesystem tree: +static const char *exclude[] = { // MUST NOT be pulled from the capsule + // prefixed filesystem tree: "libc.so.6", "libpthread.so.0", "libpthread-2.19.so", @@ -78,8 +79,9 @@ static void *_dlopen (const char *filename, int flag) { if( flag & RTLD_GLOBAL ) { - fprintf (stderr, "Warning: libcapsule dlopen wrapper cannot pass " - "RTLD_GLOBAL to underlying dlmopen(%s...) call\\n", filename ); + fprintf( stderr, "Warning: libcapsule dlopen wrapper cannot pass " + "RTLD_GLOBAL to underlying dlmopen(%s...) call\\n", + filename ); flag = (flag & ~RTLD_GLOBAL) & 0xfffff; } return capsule_shim_dlopen( symbol_ns, prefix, exclude, filename, flag ); -- GitLab