Re: [PATCH] dmesg.c: cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 04, 2011 at 03:08:17PM +0100, Marek Polacek wrote:
> 
> Signed-off-by: Marek Polacek <mpolacek@xxxxxxxxxx>
> ---
>  sys-utils/dmesg.c |   86 ++++++++++++++++++++++++-----------------------------
>  1 files changed, 39 insertions(+), 47 deletions(-)

 Applied, thanks. 

 Note that I have manually applied only some changes.

> -	lastc = '\n';
> -	for (i = 0; i < n; i++) {
> +	char lastc = '\n';
> +	for (int i = 0; i < n; i++) {

 this looks more like C++ than old good C :-)

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux