[FORMATTING]

Generalize formatting a bit, normalize file's header

svn path=/trunk/; revision=22354
This commit is contained in:
Aleksey Bragin 2006-06-15 08:33:38 +00:00
parent 7436b68377
commit bd98cae02e

View file

@ -1,28 +1,9 @@
/*
* ReactOS kernel
* Copyright (C) 2002 ReactOS Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id$ /* $Id$
* * PROJECT: ReactOS Kernel
* COPYRIGHT: See COPYING in the top level directory * LICENSE: GPL - See COPYING in the top level directory
* PROJECT: ReactOS kernel * FILE: base/system/autochk/autochk.c
* FILE: apps/system/autochk/autochk.c
* PURPOSE: Filesystem checker * PURPOSE: Filesystem checker
* PROGRAMMER: Eric Kohl * PROGRAMMERS: Eric Kohl
*/ */
/* INCLUDES *****************************************************************/ /* INCLUDES *****************************************************************/
@ -44,7 +25,6 @@ DisplayString(LPCWSTR lpwString)
NtDisplayString(&us); NtDisplayString(&us);
} }
void void
PrintString(char* fmt,...) PrintString(char* fmt,...)
{ {
@ -67,8 +47,8 @@ PrintString(char* fmt,...)
/* Native image's entry point */ /* Native image's entry point */
int
int _cdecl _cdecl
_main(int argc, _main(int argc,
char *argv[], char *argv[],
char *envp[], char *envp[],
@ -85,6 +65,7 @@ _main(int argc,
&DeviceMap.Query, &DeviceMap.Query,
sizeof(DeviceMap.Query), sizeof(DeviceMap.Query),
NULL); NULL);
if(NT_SUCCESS(Status)) if(NT_SUCCESS(Status))
{ {
for (i = 0; i < 26; i++) for (i = 0; i < 26; i++)
@ -99,6 +80,7 @@ _main(int argc,
PrintString("\n"); PrintString("\n");
return 0; return 0;
} }
return 1; return 1;
} }