From cf70433173663a5d627d2a049328cd580f7e9220 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 27 Oct 2006 15:12:50 +0000 Subject: modprobe: reformat to match bbox style --- libbb/kernel_version.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'libbb') diff --git a/libbb/kernel_version.c b/libbb/kernel_version.c index e784a049a..50b82ae18 100644 --- a/libbb/kernel_version.c +++ b/libbb/kernel_version.c @@ -7,9 +7,6 @@ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ -#include -#include -#include #include /* for uname(2) */ #include "libbb.h" @@ -27,12 +24,12 @@ int get_linux_version_code(void) if (uname(&name) == -1) { bb_perror_msg("cannot get system information"); - return (0); + return 0; } s = name.release; r = 0; - for (i=0 ; i<3 ; i++) { + for (i = 0; i < 3; i++) { r = r * 256 + atoi(strtok(s, ".")); s = NULL; } -- cgit v1.2.3