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 --- loader/loader.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'loader') diff --git a/loader/loader.c b/loader/loader.c index f2942a4..979937f 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -10,14 +10,14 @@ * from the use of this software. */ +#include #include #include #include #include -#include #ifndef PATH_MAX -#define PATH_MAX 16384 +#define PATH_MAX 16384 #endif #ifndef LINKER @@ -28,7 +28,8 @@ #error LIBGCOMPAT must be defined #endif -int main(int argc, char *argv[], char *envp[]) { +int main(int argc, char *argv[], char *envp[]) +{ size_t i = 0; char target[PATH_MAX]; char **new_argv = calloc(sizeof(char *), argc + 5); -- cgit v1.2.3-60-g2f50