From 2ab9403119399ffda26f6ff83ec60ac257c29898 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 5 Oct 2017 15:33:28 +0200 Subject: whitespace and comment format fixes, no code changes Signed-off-by: Denys Vlasenko --- archival/libarchive/decompress_bunzip2.c | 3 ++- archival/libarchive/decompress_uncompress.c | 6 ++---- archival/libarchive/get_header_ar.c | 3 ++- archival/libarchive/get_header_cpio.c | 3 ++- archival/libarchive/get_header_tar.c | 3 ++- libbb/print_flags.c | 3 ++- libpwdgrp/pwd_grp.c | 3 ++- miscutils/bbconfig.c | 3 ++- miscutils/flash_eraseall.c | 3 ++- miscutils/flash_lock_unlock.c | 3 ++- miscutils/ubi_tools.c | 3 ++- util-linux/fdformat.c | 3 ++- util-linux/fdisk.c | 3 ++- util-linux/mkswap.c | 3 ++- util-linux/switch_root.c | 3 ++- 15 files changed, 30 insertions(+), 18 deletions(-) diff --git a/archival/libarchive/decompress_bunzip2.c b/archival/libarchive/decompress_bunzip2.c index af879648d..7cd18f5ed 100644 --- a/archival/libarchive/decompress_bunzip2.c +++ b/archival/libarchive/decompress_bunzip2.c @@ -1,5 +1,6 @@ /* vi: set sw=4 ts=4: */ -/* Small bzip2 deflate implementation, by Rob Landley (rob@landley.net). +/* + * Small bzip2 deflate implementation, by Rob Landley (rob@landley.net). * * Based on bzip2 decompression code by Julian R Seward (jseward@acm.org), * which also acknowledges contributions by Mike Burrows, David Wheeler, diff --git a/archival/libarchive/decompress_uncompress.c b/archival/libarchive/decompress_uncompress.c index 034ed502d..1517559c6 100644 --- a/archival/libarchive/decompress_uncompress.c +++ b/archival/libarchive/decompress_uncompress.c @@ -1,10 +1,10 @@ /* vi: set sw=4 ts=4: */ -/* uncompress for busybox -- (c) 2002 Robert Griebl +/* + * uncompress for busybox -- (c) 2002 Robert Griebl * * based on the original compress42.c source * (see disclaimer below) */ - /* (N)compress42.c - File compression ala IEEE Computer, Mar 1992. * * Authors: @@ -21,9 +21,7 @@ * marc@suse.de : a small security fix for a buffer overflow * * [... History snipped ...] - * */ - #include "libbb.h" #include "bb_archive.h" diff --git a/archival/libarchive/get_header_ar.c b/archival/libarchive/get_header_ar.c index 79725e535..1809ec396 100644 --- a/archival/libarchive/get_header_ar.c +++ b/archival/libarchive/get_header_ar.c @@ -1,5 +1,6 @@ /* vi: set sw=4 ts=4: */ -/* Copyright 2001 Glenn McGrath. +/* + * Copyright 2001 Glenn McGrath. * * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ diff --git a/archival/libarchive/get_header_cpio.c b/archival/libarchive/get_header_cpio.c index ba07622fd..75fc6a406 100644 --- a/archival/libarchive/get_header_cpio.c +++ b/archival/libarchive/get_header_cpio.c @@ -1,5 +1,6 @@ /* vi: set sw=4 ts=4: */ -/* Copyright 2002 Laurence Anderson +/* + * Copyright 2002 Laurence Anderson * * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ diff --git a/archival/libarchive/get_header_tar.c b/archival/libarchive/get_header_tar.c index 443a478a1..aeb54190f 100644 --- a/archival/libarchive/get_header_tar.c +++ b/archival/libarchive/get_header_tar.c @@ -1,5 +1,6 @@ /* vi: set sw=4 ts=4: */ -/* Licensed under GPLv2 or later, see file LICENSE in this source tree. +/* + * Licensed under GPLv2 or later, see file LICENSE in this source tree. * * FIXME: * In privileged mode if uname and gname map to a uid and gid then use the diff --git a/libbb/print_flags.c b/libbb/print_flags.c index eaec731e5..0ebe842be 100644 --- a/libbb/print_flags.c +++ b/libbb/print_flags.c @@ -1,5 +1,6 @@ /* vi: set sw=4 ts=4: */ -/* Print string that matches bit masked flags +/* + * Print string that matches bit masked flags * * Copyright (C) 2008 Natanael Copa * diff --git a/libpwdgrp/pwd_grp.c b/libpwdgrp/pwd_grp.c index 7e3568f80..b44ada432 100644 --- a/libpwdgrp/pwd_grp.c +++ b/libpwdgrp/pwd_grp.c @@ -1,5 +1,6 @@ /* vi: set sw=4 ts=4: */ -/* Copyright (C) 2014 Tito Ragusa +/* + * Copyright (C) 2014 Tito Ragusa * * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ diff --git a/miscutils/bbconfig.c b/miscutils/bbconfig.c index 045aca211..9ab57876e 100644 --- a/miscutils/bbconfig.c +++ b/miscutils/bbconfig.c @@ -1,5 +1,6 @@ /* vi: set sw=4 ts=4: */ -/* This file was released into the public domain by Paul Fox. +/* + * This file was released into the public domain by Paul Fox. */ //config:config BBCONFIG //config: bool "bbconfig (9.7 kb)" diff --git a/miscutils/flash_eraseall.c b/miscutils/flash_eraseall.c index a6ce41f27..fab21291c 100644 --- a/miscutils/flash_eraseall.c +++ b/miscutils/flash_eraseall.c @@ -1,5 +1,6 @@ /* vi: set sw=4 ts=4: */ -/* eraseall.c -- erase the whole of a MTD device +/* + * eraseall.c -- erase the whole of a MTD device * * Ported to busybox from mtd-utils. * diff --git a/miscutils/flash_lock_unlock.c b/miscutils/flash_lock_unlock.c index 6f2c049f4..12f72efaf 100644 --- a/miscutils/flash_lock_unlock.c +++ b/miscutils/flash_lock_unlock.c @@ -1,5 +1,6 @@ /* vi: set sw=4 ts=4: */ -/* Ported to busybox from mtd-utils. +/* + * Ported to busybox from mtd-utils. * * Licensed under GPLv2, see file LICENSE in this source tree. */ diff --git a/miscutils/ubi_tools.c b/miscutils/ubi_tools.c index 1ef8fd90e..a947abab5 100644 --- a/miscutils/ubi_tools.c +++ b/miscutils/ubi_tools.c @@ -1,4 +1,5 @@ -/* Ported to busybox from mtd-utils. +/* + * Ported to busybox from mtd-utils. * * Licensed under GPLv2, see file LICENSE in this source tree. */ diff --git a/util-linux/fdformat.c b/util-linux/fdformat.c index 855269c30..c72da8b89 100644 --- a/util-linux/fdformat.c +++ b/util-linux/fdformat.c @@ -1,5 +1,6 @@ /* vi: set sw=4 ts=4: */ -/* fdformat.c - Low-level formats a floppy disk - Werner Almesberger +/* + * fdformat.c - Low-level formats a floppy disk - Werner Almesberger * 5 July 2003 -- modified for Busybox by Erik Andersen * * Licensed under GPLv2, see file LICENSE in this source tree. diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index c4318b6c4..7275535e6 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c @@ -1,5 +1,6 @@ /* vi: set sw=4 ts=4: */ -/* fdisk.c -- Partition table manipulator for Linux. +/* + * fdisk.c -- Partition table manipulator for Linux. * * Copyright (C) 1992 A. V. Le Blanc (LeBlanc@mcc.ac.uk) * Copyright (C) 2001,2002 Vladimir Oleynik (initial bb port) diff --git a/util-linux/mkswap.c b/util-linux/mkswap.c index 71449882d..2eb16bd84 100644 --- a/util-linux/mkswap.c +++ b/util-linux/mkswap.c @@ -1,5 +1,6 @@ /* vi: set sw=4 ts=4: */ -/* mkswap.c - format swap device (Linux v1 only) +/* + * mkswap.c - format swap device (Linux v1 only) * * Copyright 2006 Rob Landley * diff --git a/util-linux/switch_root.c b/util-linux/switch_root.c index 080b05e45..2d1802b79 100644 --- a/util-linux/switch_root.c +++ b/util-linux/switch_root.c @@ -1,5 +1,6 @@ /* vi: set sw=4 ts=4: */ -/* Copyright 2005 Rob Landley +/* + * Copyright 2005 Rob Landley * * Switch from rootfs to another filesystem as the root of the mount tree. * -- cgit v1.2.3