summaryrefslogtreecommitdiff
path: root/editors/cmp.c
diff options
context:
space:
mode:
authorDenys Vlasenko2017-09-18 16:28:43 +0200
committerDenys Vlasenko2017-09-18 16:28:43 +0200
commit0c4dbd481aedb5d22c1048e7f7eb547a3b5e50a5 (patch)
treecfe1328d742da3f0572ac8b2f06aa95259862ac5 /editors/cmp.c
parentb63afead4411c5832d427ed149683c85cc81a4c9 (diff)
downloadbusybox-0c4dbd481aedb5d22c1048e7f7eb547a3b5e50a5.zip
busybox-0c4dbd481aedb5d22c1048e7f7eb547a3b5e50a5.tar.gz
regularize format of source file headers, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors/cmp.c')
-rw-r--r--editors/cmp.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/editors/cmp.c b/editors/cmp.c
index ec86c0c..2a410fd 100644
--- a/editors/cmp.c
+++ b/editors/cmp.c
@@ -6,10 +6,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
-
-/* BB_AUDIT SUSv3 (virtually) compliant -- uses nicer GNU format for -l. */
-/* http://www.opengroup.org/onlinepubs/007904975/utilities/cmp.html */
-
//config:config CMP
//config: bool "cmp (5.4 kb)"
//config: default y
@@ -17,10 +13,10 @@
//config: cmp is used to compare two files and returns the result
//config: to standard output.
-//kbuild:lib-$(CONFIG_CMP) += cmp.o
-
//applet:IF_CMP(APPLET(cmp, BB_DIR_USR_BIN, BB_SUID_DROP))
+//kbuild:lib-$(CONFIG_CMP) += cmp.o
+
//usage:#define cmp_trivial_usage
//usage: "[-l] [-s] FILE1 [FILE2" IF_DESKTOP(" [SKIP1 [SKIP2]]") "]"
//usage:#define cmp_full_usage "\n\n"
@@ -29,6 +25,9 @@
//usage: "\n for all differing bytes"
//usage: "\n -s Quiet"
+/* BB_AUDIT SUSv3 (virtually) compliant -- uses nicer GNU format for -l. */
+/* http://www.opengroup.org/onlinepubs/007904975/utilities/cmp.html */
+
#include "libbb.h"
static const char fmt_eof[] ALIGN1 = "cmp: EOF on %s\n";