Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-03 00:56:16 +0400
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-03 00:56:16 +0400
commite15d7573a1263fb364d1678c3a46be47a8b5e5ea (patch)
tree09e7b482b38ac571a01e936fb91df16dd1eeef42 /debianutils/readlink.c
parentecae66ac16338d8cddb55e1782ebd8c5f670ff53 (diff)
- move #include busybox.h to the very top so we pull in the config
and eventual platform specific includes in early.
Diffstat (limited to 'debianutils/readlink.c')
-rw-r--r--debianutils/readlink.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/debianutils/readlink.c b/debianutils/readlink.c
index 79f0870ec..10fb01ebf 100644
--- a/debianutils/readlink.c
+++ b/debianutils/readlink.c
@@ -7,11 +7,11 @@
* Licensed under GPL v2, see file LICENSE in this tarball for details.
*/
+#include "busybox.h"
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
#include <getopt.h>
-#include "busybox.h"
#define READLINK_FLAG_f (1 << 0)
@@ -33,7 +33,8 @@ int readlink_main(int argc, char **argv)
return EXIT_FAILURE;
puts(buf);
- if (ENABLE_FEATURE_CLEAN_UP && buf != bb_common_bufsiz1) free(buf);
+ if (ENABLE_FEATURE_CLEAN_UP && buf != bb_common_bufsiz1)
+ free(buf);
return EXIT_SUCCESS;
}