From d40369b0e09e4e2228ebff305067ec2d99220848 Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Sun, 14 Jan 2018 18:28:35 -0600 Subject: global: Format the code consistently * Apply clang-format. * Change all comments to the same style. * Add braces as dictated by the coding style guidelines. Signed-off-by: Samuel Holland --- libgcompat/dlmopen.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'libgcompat/dlmopen.c') diff --git a/libgcompat/dlmopen.c b/libgcompat/dlmopen.c index fecb29c..4584680 100644 --- a/libgcompat/dlmopen.c +++ b/libgcompat/dlmopen.c @@ -1,15 +1,14 @@ -#include // dlopen -#include // fprintf -#include // getenv +#include /* dlopen */ +#include /* fprintf */ +#include /* getenv */ void *dlmopen(long lmid, const char *pathname, int mode) { - if(getenv("GLIBC_FAKE_DEBUG")) - { - fprintf(stderr, "library %s was requested to load in %ld namespace", - pathname, lmid); + if (getenv("GLIBC_FAKE_DEBUG")) { + fprintf(stderr, + "library %s was requested to load in %ld namespace", + pathname, lmid); } return dlopen(pathname, mode); } - -- cgit v1.2.3-60-g2f50