diff --git a/reactos/drivers/dd/vga/display/main/enable.c b/reactos/drivers/dd/vga/display/main/enable.c index e9f0da76afa..a75cbd2e704 100644 --- a/reactos/drivers/dd/vga/display/main/enable.c +++ b/reactos/drivers/dd/vga/display/main/enable.c @@ -1,9 +1,9 @@ /* * entry.c * - * $Revision: 1.15 $ - * $Author: jfilby $ - * $Date: 2001/07/01 14:32:47 $ + * $Revision: 1.16 $ + * $Author: chorns $ + * $Date: 2001/09/23 22:14:10 $ * */ @@ -487,3 +487,4 @@ ULONG VGADDIGetModes(IN HANDLE Driver, } /* EOF */ + diff --git a/reactos/hal/halx86/halx86mp.rc b/reactos/hal/halx86/halx86mp.rc index 9f302cdbfe8..4021685b9ef 100644 --- a/reactos/hal/halx86/halx86mp.rc +++ b/reactos/hal/halx86/halx86mp.rc @@ -34,4 +34,4 @@ BEGIN BEGIN VALUE "Translation", 0x409, 1200 END -END \ No newline at end of file +END diff --git a/reactos/hal/halx86/halx86up.rc b/reactos/hal/halx86/halx86up.rc index b2566b85695..75e1a48ad86 100644 --- a/reactos/hal/halx86/halx86up.rc +++ b/reactos/hal/halx86/halx86up.rc @@ -34,4 +34,4 @@ BEGIN BEGIN VALUE "Translation", 0x409, 1200 END -END \ No newline at end of file +END diff --git a/reactos/include/crtdll/internal/ieee.h b/reactos/include/crtdll/internal/ieee.h index 7406d45deb2..788908bdb2e 100644 --- a/reactos/include/crtdll/internal/ieee.h +++ b/reactos/include/crtdll/internal/ieee.h @@ -22,6 +22,4 @@ typedef struct { unsigned int empty:16; } long_double_t; - - -#endif \ No newline at end of file +#endif diff --git a/reactos/include/crtdll/mbctype.h b/reactos/include/crtdll/mbctype.h index 09b5059fee4..dc34d13e98f 100644 --- a/reactos/include/crtdll/mbctype.h +++ b/reactos/include/crtdll/mbctype.h @@ -44,4 +44,4 @@ int _ismbbkana( unsigned char c ); } #endif -#endif \ No newline at end of file +#endif diff --git a/reactos/include/crtdll/mbstring.h b/reactos/include/crtdll/mbstring.h index 47ba977e3a2..cc49c6b7dfe 100644 --- a/reactos/include/crtdll/mbstring.h +++ b/reactos/include/crtdll/mbstring.h @@ -105,4 +105,4 @@ int _ismbstrail( const unsigned char *s, const unsigned char *c); } #endif -#endif \ No newline at end of file +#endif diff --git a/reactos/include/crtdll/search.h b/reactos/include/crtdll/search.h index d4268dbfef9..c8242c6d3fd 100644 --- a/reactos/include/crtdll/search.h +++ b/reactos/include/crtdll/search.h @@ -32,4 +32,4 @@ void *_lsearch(const void *, void *, size_t *, //void twalk(const void *, // void (*)(const void *, VISIT, int )); -#endif \ No newline at end of file +#endif diff --git a/reactos/include/crtdll/string.h b/reactos/include/crtdll/string.h index d18b4de88aa..f973e18e708 100644 --- a/reactos/include/crtdll/string.h +++ b/reactos/include/crtdll/string.h @@ -18,9 +18,9 @@ * DISCLAMED. This includes but is not limited to warranties of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * $Author: chorns $ - * $Date: 2000/12/08 22:09:17 $ + * $Date: 2001/09/23 22:14:02 $ * */ /* Appropriated for Reactos Crtdll by Ariadne */ @@ -189,4 +189,4 @@ wchar_t* wcsupr (wchar_t* wsToConvert); #ifdef __cplusplus }; /* extern "c" */ -#endif \ No newline at end of file +#endif diff --git a/reactos/include/ddk/haltypes.h b/reactos/include/ddk/haltypes.h index fbffd262285..ea5811a2bb3 100644 --- a/reactos/include/ddk/haltypes.h +++ b/reactos/include/ddk/haltypes.h @@ -1,4 +1,4 @@ -/* $Id: haltypes.h,v 1.1 2001/08/27 01:18:57 ekohl Exp $ +/* $Id: haltypes.h,v 1.2 2001/09/23 22:14:03 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -273,4 +273,4 @@ extern ULONG IMPORTED KdComPortInUse; #endif /* __INCLUDE_DDK_HALTYPES_H */ -/* EOF */ \ No newline at end of file +/* EOF */ diff --git a/reactos/include/msvcrt/internal/ieee.h b/reactos/include/msvcrt/internal/ieee.h index 7406d45deb2..788908bdb2e 100644 --- a/reactos/include/msvcrt/internal/ieee.h +++ b/reactos/include/msvcrt/internal/ieee.h @@ -22,6 +22,4 @@ typedef struct { unsigned int empty:16; } long_double_t; - - -#endif \ No newline at end of file +#endif diff --git a/reactos/include/msvcrt/mbctype.h b/reactos/include/msvcrt/mbctype.h index 56ee3453360..686b3639dd8 100644 --- a/reactos/include/msvcrt/mbctype.h +++ b/reactos/include/msvcrt/mbctype.h @@ -46,4 +46,4 @@ int _ismbbkana( unsigned char c ); } #endif -#endif \ No newline at end of file +#endif diff --git a/reactos/include/msvcrt/mbstring.h b/reactos/include/msvcrt/mbstring.h index 7a145eb207a..45d0c166777 100644 --- a/reactos/include/msvcrt/mbstring.h +++ b/reactos/include/msvcrt/mbstring.h @@ -105,4 +105,4 @@ int _ismbstrail( const unsigned char *s, const unsigned char *c); } #endif -#endif \ No newline at end of file +#endif diff --git a/reactos/include/msvcrt/search.h b/reactos/include/msvcrt/search.h index 985e144abfa..b42c4d006cc 100644 --- a/reactos/include/msvcrt/search.h +++ b/reactos/include/msvcrt/search.h @@ -32,4 +32,4 @@ void *_lsearch(const void *, void *, size_t *, //void twalk(const void *, // void (*)(const void *, VISIT, int )); -#endif \ No newline at end of file +#endif diff --git a/reactos/include/msvcrt/string.h b/reactos/include/msvcrt/string.h index d0a0071e298..8028870e123 100644 --- a/reactos/include/msvcrt/string.h +++ b/reactos/include/msvcrt/string.h @@ -18,9 +18,9 @@ * DISCLAMED. This includes but is not limited to warranties of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * $Revision: 1.1 $ - * $Author: ekohl $ - * $Date: 2000/12/03 17:49:21 $ + * $Revision: 1.2 $ + * $Author: chorns $ + * $Date: 2001/09/23 22:14:03 $ * */ /* Appropriated for Reactos Crtdll by Ariadne */ @@ -191,4 +191,4 @@ wchar_t* wcsupr (wchar_t* wsToConvert); #ifdef __cplusplus extern "C" } -#endif \ No newline at end of file +#endif diff --git a/reactos/include/napi/i386/segment.h b/reactos/include/napi/i386/segment.h index dc8d1eb2ed3..6034b60403d 100644 --- a/reactos/include/napi/i386/segment.h +++ b/reactos/include/napi/i386/segment.h @@ -44,18 +44,18 @@ static inline void __put_user(unsigned long x, void * y, int size) { switch (size) { case 1: - __asm__ ("movb %b1,%%fs:%0" - :"=m" (*__sd(y)) + __asm__ ("movb %b1,%%fs:%0" \ + :"=m" (*__sd(y)) \ :"iq" ((unsigned char) x), "m" (*__sd(y))); break; case 2: - __asm__ ("movw %w1,%%fs:%0" - :"=m" (*__sd(y)) + __asm__ ("movw %w1,%%fs:%0" \ + :"=m" (*__sd(y)) \ :"ir" ((unsigned short) x), "m" (*__sd(y))); break; case 4: - __asm__ ("movl %1,%%fs:%0" - :"=m" (*__sd(y)) + __asm__ ("movl %1,%%fs:%0" \ + :"=m" (*__sd(y)) \ :"ir" (x), "m" (*__sd(y))); break; default: @@ -69,18 +69,18 @@ static inline unsigned long __get_user(const void * y, int size) switch (size) { case 1: - __asm__ ("movb %%fs:%1,%b0" - :"=q" (result) + __asm__ ("movb %%fs:%1,%b0" \ + :"=q" (result) \ :"m" (*__const_sd(y))); return (unsigned char) result; case 2: - __asm__ ("movw %%fs:%1,%w0" - :"=r" (result) + __asm__ ("movw %%fs:%1,%w0" \ + :"=r" (result) \ :"m" (*__const_sd(y))); return (unsigned short) result; case 4: - __asm__ ("movl %%fs:%1,%0" - :"=r" (result) + __asm__ ("movl %%fs:%1,%0" \ + :"=r" (result) \ :"m" (*__const_sd(y))); return result; default: @@ -91,26 +91,26 @@ static inline unsigned long __get_user(const void * y, int size) static inline void __generic_memcpy_tofs(void * to, const void * from, unsigned long n) { __asm__ volatile - (" cld - push %%es - push %%fs - cmpl $3,%0 - pop %%es - jbe 1f - movl %%edi,%%ecx - negl %%ecx - andl $3,%%ecx - subl %%ecx,%0 - rep; movsb - movl %0,%%ecx - shrl $2,%%ecx - rep; movsl - andl $3,%0 - 1: movl %0,%%ecx - rep; movsb - pop %%es" - :"=abd" (n) - :"0" (n),"D" ((long) to),"S" ((long) from) + (" cld \ + push %%es \ + push %%fs \ + cmpl $3,%0 \ + pop %%es \ + jbe 1f \ + movl %%edi,%%ecx \ + negl %%ecx \ + andl $3,%%ecx \ + subl %%ecx,%0 \ + rep; movsb \ + movl %0,%%ecx \ + shrl $2,%%ecx \ + rep; movsl \ + andl $3,%0 \ + 1: movl %0,%%ecx \ + rep; movsb \ + pop %%es" \ + :"=abd" (n) \ + :"0" (n),"D" ((long) to),"S" ((long) from) \ :"cx","di","si"); } @@ -180,19 +180,19 @@ __asm__("cld\n\t" \ static inline void __generic_memcpy_fromfs(void * to, const void * from, unsigned long n) { __asm__ volatile - (" cld - cmpl $3,%0 - jbe 1f - movl %%edi,%%ecx - negl %%ecx - andl $3,%%ecx - subl %%ecx,%0 - fs; rep; movsb - movl %0,%%ecx - shrl $2,%%ecx - fs; rep; movsl - andl $3,%0 - 1: movl %0,%%ecx + (" cld \ + cmpl $3,%0 \ + jbe 1f \ + movl %%edi,%%ecx \ + negl %%ecx \ + andl $3,%%ecx \ + subl %%ecx,%0 \ + fs; rep; movsb \ + movl %0,%%ecx \ + shrl $2,%%ecx \ + fs; rep; movsl \ + andl $3,%0 \ + 1: movl %0,%%ecx \ fs; rep; movsb" :"=abd" (n) :"0" (n),"D" ((long) to),"S" ((long) from) diff --git a/reactos/lib/crtdll/conio/cputs.c b/reactos/lib/crtdll/conio/cputs.c index 5498680e4dd..37cd12a8db3 100644 --- a/reactos/lib/crtdll/conio/cputs.c +++ b/reactos/lib/crtdll/conio/cputs.c @@ -13,11 +13,11 @@ #include #include -int _cputs(const char *_str) +int _cputs(const char *_str) { int len = strlen(_str); DWORD written = 0; - if (!WriteFile(filehnd(stdout->_file),_str,len,&written,NULL)) + if (!WriteFile(filehnd(stdout->_file),_str,len,&written,NULL)) return -1; return 0; } diff --git a/reactos/lib/crtdll/direct/getdrive.c b/reactos/lib/crtdll/direct/getdrive.c index 2aa5463f1e1..a57e9ba3252 100644 --- a/reactos/lib/crtdll/direct/getdrive.c +++ b/reactos/lib/crtdll/direct/getdrive.c @@ -23,4 +23,4 @@ unsigned long _getdrives(void) //fixme get logical drives //return GetLogicalDrives(); return 5; // drive A and C -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/except/abnorter.c b/reactos/lib/crtdll/except/abnorter.c index 9c913832c18..2efd11a31f8 100644 --- a/reactos/lib/crtdll/except/abnorter.c +++ b/reactos/lib/crtdll/except/abnorter.c @@ -4,4 +4,4 @@ int _abnormal_termination(void) { printf("Abnormal Termination\n"); // return AbnormalTermination(); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/except/exhand2.c b/reactos/lib/crtdll/except/exhand2.c index 4a4fcd6814b..886b7984f88 100644 --- a/reactos/lib/crtdll/except/exhand2.c +++ b/reactos/lib/crtdll/except/exhand2.c @@ -16,4 +16,4 @@ struct _CONTEXT *ContextRecord, void *DispatcherContext) { printf("excpetion handler\n"); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/except/matherr.c b/reactos/lib/crtdll/except/matherr.c index 338eee1fee0..e921e84d277 100644 --- a/reactos/lib/crtdll/except/matherr.c +++ b/reactos/lib/crtdll/except/matherr.c @@ -19,4 +19,4 @@ int _fpieee_flt( ) { return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/float/logb.c b/reactos/lib/crtdll/float/logb.c index db8eff6381a..8b896274a43 100644 --- a/reactos/lib/crtdll/float/logb.c +++ b/reactos/lib/crtdll/float/logb.c @@ -28,4 +28,4 @@ double _logb (double __x) : "=t" (__junk), "=u" (__value) : "0" (__x)); return __value; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/io/chmod.c b/reactos/lib/crtdll/io/chmod.c index 84dc86f4429..be48dbf3247 100644 --- a/reactos/lib/crtdll/io/chmod.c +++ b/reactos/lib/crtdll/io/chmod.c @@ -28,4 +28,4 @@ _chmod(const char *filename, mode_t mode) return -1; return 1; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/io/utime.c b/reactos/lib/crtdll/io/utime.c index 1c6934780d3..90b9921e057 100644 --- a/reactos/lib/crtdll/io/utime.c +++ b/reactos/lib/crtdll/io/utime.c @@ -19,4 +19,4 @@ int _utime(const char* filename, struct _utimbuf* buf) return -1; return ret; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/malloc/expand.c b/reactos/lib/crtdll/malloc/expand.c index 7a323ae945a..321330b097b 100644 --- a/reactos/lib/crtdll/malloc/expand.c +++ b/reactos/lib/crtdll/malloc/expand.c @@ -41,4 +41,4 @@ size_t _msize (void* pBlock) psub=pfrag->Sub; pbucket=psub->Bucket; return pbucket->Size; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/malloc/heap.c b/reactos/lib/crtdll/malloc/heap.c index 1eed2281b6a..11d9907eb16 100644 --- a/reactos/lib/crtdll/malloc/heap.c +++ b/reactos/lib/crtdll/malloc/heap.c @@ -26,4 +26,4 @@ int _heapset (unsigned int unFill) int _heapwalk ( struct _heapinfo *entry) { return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/math/acos.c b/reactos/lib/crtdll/math/acos.c index 34707822aaf..776ddd2534a 100644 --- a/reactos/lib/crtdll/math/acos.c +++ b/reactos/lib/crtdll/math/acos.c @@ -23,4 +23,4 @@ double acos (double __x) { return atan2 (sqrt (1.0 - __x * __x), __x); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/math/asin.c b/reactos/lib/crtdll/math/asin.c index 6aeba7d9e26..410981127a2 100644 --- a/reactos/lib/crtdll/math/asin.c +++ b/reactos/lib/crtdll/math/asin.c @@ -23,4 +23,4 @@ double asin (double __x) { return atan2 (__x, sqrt (1.0 - __x * __x)); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/math/atan.c b/reactos/lib/crtdll/math/atan.c index 20ef6724d7c..853385b5f3a 100644 --- a/reactos/lib/crtdll/math/atan.c +++ b/reactos/lib/crtdll/math/atan.c @@ -29,4 +29,4 @@ double atan (double __x) : "=t" (__value) : "0" (__x)); return __value; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/math/atan2.c b/reactos/lib/crtdll/math/atan2.c index 30b800167a6..f23be33a8a7 100644 --- a/reactos/lib/crtdll/math/atan2.c +++ b/reactos/lib/crtdll/math/atan2.c @@ -9,4 +9,4 @@ double atan2 (double __y, double __x) : "=t" (__value) : "0" (__x), "u" (__y)); return __value; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/math/ceil.c b/reactos/lib/crtdll/math/ceil.c index 56cf8569c17..eedff4f4929 100644 --- a/reactos/lib/crtdll/math/ceil.c +++ b/reactos/lib/crtdll/math/ceil.c @@ -20,4 +20,4 @@ double ceil (double __x) long double ceill (long double __x) { return floor(__x)+1; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/math/fabs.c b/reactos/lib/crtdll/math/fabs.c index f56c2682528..a2a8bdc14ac 100644 --- a/reactos/lib/crtdll/math/fabs.c +++ b/reactos/lib/crtdll/math/fabs.c @@ -29,4 +29,4 @@ double fabs (double __x) : "=t" (__value) : "0" (__x)); return __value; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/math/fmod.c b/reactos/lib/crtdll/math/fmod.c index 8e178d9ef77..5618cf386f2 100644 --- a/reactos/lib/crtdll/math/fmod.c +++ b/reactos/lib/crtdll/math/fmod.c @@ -32,4 +32,4 @@ double fmod (double __x, double __y) : "=t" (__value) : "0" (__x), "u" (__y) : "ax", "cc"); return __value; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/math/j0_y0.c b/reactos/lib/crtdll/math/j0_y0.c index fe3c422f3bc..7512077a5d7 100644 --- a/reactos/lib/crtdll/math/j0_y0.c +++ b/reactos/lib/crtdll/math/j0_y0.c @@ -8,4 +8,4 @@ double _j0(double x) double _y0(double x) { return x; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/math/j1_y1.c b/reactos/lib/crtdll/math/j1_y1.c index 76432b9f67b..90e2fb1a5b4 100644 --- a/reactos/lib/crtdll/math/j1_y1.c +++ b/reactos/lib/crtdll/math/j1_y1.c @@ -8,4 +8,4 @@ double _j1(double x) double _y1(double x) { return x; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/math/jn_yn.c b/reactos/lib/crtdll/math/jn_yn.c index b3a718163d4..b641a81dc07 100644 --- a/reactos/lib/crtdll/math/jn_yn.c +++ b/reactos/lib/crtdll/math/jn_yn.c @@ -8,4 +8,4 @@ double _jn(int n, double x) double _yn(int n, double x) { return x; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/math/ldexp.c b/reactos/lib/crtdll/math/ldexp.c index f96c3c35aa4..4599fd5e51a 100644 --- a/reactos/lib/crtdll/math/ldexp.c +++ b/reactos/lib/crtdll/math/ldexp.c @@ -28,4 +28,4 @@ double ldexp (double __x, int __y) : "=t" (__value) : "0" (__x), "u" ((double) __y)); return __value; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/math/log.c b/reactos/lib/crtdll/math/log.c index b8cf142f50c..c19c30f8e63 100644 --- a/reactos/lib/crtdll/math/log.c +++ b/reactos/lib/crtdll/math/log.c @@ -30,4 +30,4 @@ double log (double __x) : "=t" (__value) : "0" (__x)); return __value; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/math/log10.c b/reactos/lib/crtdll/math/log10.c index 64a6b1708e4..b57b1a5654e 100644 --- a/reactos/lib/crtdll/math/log10.c +++ b/reactos/lib/crtdll/math/log10.c @@ -31,4 +31,4 @@ double log10 (double __x) : "=t" (__value) : "0" (__x)); return __value; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/math/sin.c b/reactos/lib/crtdll/math/sin.c index be9e0b34fa4..80d763066d5 100644 --- a/reactos/lib/crtdll/math/sin.c +++ b/reactos/lib/crtdll/math/sin.c @@ -29,4 +29,4 @@ double sin (double __x) : "=t" (__value) : "0" (__x)); return __value; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/math/sqrt.c b/reactos/lib/crtdll/math/sqrt.c index f157eab5723..a17cec1cb71 100644 --- a/reactos/lib/crtdll/math/sqrt.c +++ b/reactos/lib/crtdll/math/sqrt.c @@ -29,4 +29,4 @@ double sqrt (double __x) : "=t" (__value) : "0" (__x)); return __value; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/math/stubs.c b/reactos/lib/crtdll/math/stubs.c index 5c7686d2693..65b601026a4 100644 --- a/reactos/lib/crtdll/math/stubs.c +++ b/reactos/lib/crtdll/math/stubs.c @@ -81,4 +81,4 @@ double _CIsqrt (double x) double _CIfmod (double x, double y) { return fmod(x,y); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/iskana.c b/reactos/lib/crtdll/mbstring/iskana.c index bd9dfa9679d..b61ff8b132f 100644 --- a/reactos/lib/crtdll/mbstring/iskana.c +++ b/reactos/lib/crtdll/mbstring/iskana.c @@ -14,4 +14,4 @@ int _ismbbkana(unsigned char c) { return ((_jctype+1)[(unsigned char)(c)] & (_KNJ_M|_KNJ_P)); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/iskmoji.c b/reactos/lib/crtdll/mbstring/iskmoji.c index dcaaab853bd..388455226fd 100644 --- a/reactos/lib/crtdll/mbstring/iskmoji.c +++ b/reactos/lib/crtdll/mbstring/iskmoji.c @@ -3,4 +3,4 @@ int _ismbbkalpha(unsigned char c) { return (0xA7 <= c <= 0xDF); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/iskpun.c b/reactos/lib/crtdll/mbstring/iskpun.c index 470d469abc2..e515354c23c 100644 --- a/reactos/lib/crtdll/mbstring/iskpun.c +++ b/reactos/lib/crtdll/mbstring/iskpun.c @@ -12,4 +12,4 @@ int _ismbbkpunct( unsigned int c ) { return ((_jctype+1)[(unsigned char)(c)] & (_KNJ_P)); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/islead.c b/reactos/lib/crtdll/mbstring/islead.c index 8d71a229ee2..6026c34a926 100644 --- a/reactos/lib/crtdll/mbstring/islead.c +++ b/reactos/lib/crtdll/mbstring/islead.c @@ -5,4 +5,4 @@ int isleadbyte(char *mbstr) { return 0; //return IsDBCSLeadByteEx(0,*c); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/ismbc.c b/reactos/lib/crtdll/mbstring/ismbc.c index 2747a5a5ae2..ad8c8c64138 100644 --- a/reactos/lib/crtdll/mbstring/ismbc.c +++ b/reactos/lib/crtdll/mbstring/ismbc.c @@ -103,4 +103,4 @@ int _ismbcl1(unsigned int c) int _ismbcl2(unsigned int c) { return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/ismbgra.c b/reactos/lib/crtdll/mbstring/ismbgra.c index 587bbadb522..6b3469f7826 100644 --- a/reactos/lib/crtdll/mbstring/ismbgra.c +++ b/reactos/lib/crtdll/mbstring/ismbgra.c @@ -5,4 +5,4 @@ int _ismbbgraph(unsigned char c) { return (isgraph(c) || _ismbbkana(c)); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/ismbkaln.c b/reactos/lib/crtdll/mbstring/ismbkaln.c index 26f53c948f9..64340ab75e1 100644 --- a/reactos/lib/crtdll/mbstring/ismbkaln.c +++ b/reactos/lib/crtdll/mbstring/ismbkaln.c @@ -13,4 +13,4 @@ int _ismbbkalnum( unsigned int c ) { return ((_jctype+1)[(unsigned char)(c)] & (_KNJ_P)); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/ismbpri.c b/reactos/lib/crtdll/mbstring/ismbpri.c index 3fb654c2445..76d4075431d 100644 --- a/reactos/lib/crtdll/mbstring/ismbpri.c +++ b/reactos/lib/crtdll/mbstring/ismbpri.c @@ -5,4 +5,4 @@ int _ismbbprint(unsigned char c) { return (isprint(c) || _ismbbkana(c)); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/ismbtrl.c b/reactos/lib/crtdll/mbstring/ismbtrl.c index 8d37b422846..f6d7b401141 100644 --- a/reactos/lib/crtdll/mbstring/ismbtrl.c +++ b/reactos/lib/crtdll/mbstring/ismbtrl.c @@ -36,4 +36,4 @@ int _ismbstrail( const unsigned char *str, const unsigned char *t) } return _ismbbtrail(*s); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/jistojms.c b/reactos/lib/crtdll/mbstring/jistojms.c index 9ed1fd0610c..a34e3111c16 100644 --- a/reactos/lib/crtdll/mbstring/jistojms.c +++ b/reactos/lib/crtdll/mbstring/jistojms.c @@ -21,4 +21,4 @@ unsigned short _mbcjistojms(unsigned short c) return ((c1 << 8) | c2); } return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/jmstojis.c b/reactos/lib/crtdll/mbstring/jmstojis.c index 087be9bfbd5..f3496aab004 100644 --- a/reactos/lib/crtdll/mbstring/jmstojis.c +++ b/reactos/lib/crtdll/mbstring/jmstojis.c @@ -22,4 +22,4 @@ unsigned short _mbcjmstojis(unsigned short c) return ((c1 << 8) | c2); } return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbbtype.c b/reactos/lib/crtdll/mbstring/mbbtype.c index 0c74eb0812a..06d6de8db8d 100644 --- a/reactos/lib/crtdll/mbstring/mbbtype.c +++ b/reactos/lib/crtdll/mbstring/mbbtype.c @@ -48,4 +48,4 @@ int _mbsbtype( const unsigned char *str, size_t n ) if ( str == NULL ) return -1; return _mbbtype(*(str+n),1); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbccpy.c b/reactos/lib/crtdll/mbstring/mbccpy.c index 65dbd044c92..d78af8da833 100644 --- a/reactos/lib/crtdll/mbstring/mbccpy.c +++ b/reactos/lib/crtdll/mbstring/mbccpy.c @@ -9,4 +9,4 @@ void _mbccpy(unsigned char *dst, const unsigned char *src) return; memcpy(dst,src,_mbclen2(*src)); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbclen.c b/reactos/lib/crtdll/mbstring/mbclen.c index 88c58605b6d..c579932f370 100644 --- a/reactos/lib/crtdll/mbstring/mbclen.c +++ b/reactos/lib/crtdll/mbstring/mbclen.c @@ -25,6 +25,3 @@ int mblen( const char *s, size_t count ) return -1; return l; } - - - diff --git a/reactos/lib/crtdll/mbstring/mbscat.c b/reactos/lib/crtdll/mbstring/mbscat.c index bed2d66ed92..62b3d05b2d7 100644 --- a/reactos/lib/crtdll/mbstring/mbscat.c +++ b/reactos/lib/crtdll/mbstring/mbscat.c @@ -3,4 +3,4 @@ unsigned char * _mbscat(unsigned char *dst, const unsigned char *src) { return strcat(dst,src); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbschr.c b/reactos/lib/crtdll/mbstring/mbschr.c index 5efab5df26e..f9be9c8771c 100644 --- a/reactos/lib/crtdll/mbstring/mbschr.c +++ b/reactos/lib/crtdll/mbstring/mbschr.c @@ -3,4 +3,4 @@ unsigned char * _mbschr(const unsigned char *str, unsigned int c) { return strchr(str,c); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbscmp.c b/reactos/lib/crtdll/mbstring/mbscmp.c index 1f121f0c447..ad48d166128 100644 --- a/reactos/lib/crtdll/mbstring/mbscmp.c +++ b/reactos/lib/crtdll/mbstring/mbscmp.c @@ -4,4 +4,4 @@ int _mbscmp(const unsigned char *str1, const unsigned char *str2) { return strcmp(str1,str2); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbscoll.c b/reactos/lib/crtdll/mbstring/mbscoll.c index 669c6de81f4..d3236cd4f41 100644 --- a/reactos/lib/crtdll/mbstring/mbscoll.c +++ b/reactos/lib/crtdll/mbstring/mbscoll.c @@ -92,4 +92,4 @@ int _mbsbcoll(const unsigned char *str1, const unsigned char *str2) return colldif(*s1, *s2); } ; return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbscpy.c b/reactos/lib/crtdll/mbstring/mbscpy.c index 035c76d8295..1c66e614e79 100644 --- a/reactos/lib/crtdll/mbstring/mbscpy.c +++ b/reactos/lib/crtdll/mbstring/mbscpy.c @@ -4,4 +4,4 @@ unsigned char * _mbscpy(unsigned char *dst, const unsigned char *str) { return strcpy(dst,str); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbsdec.c b/reactos/lib/crtdll/mbstring/mbsdec.c index 69a437b25e8..00b58f3c80b 100644 --- a/reactos/lib/crtdll/mbstring/mbsdec.c +++ b/reactos/lib/crtdll/mbstring/mbsdec.c @@ -11,4 +11,4 @@ unsigned char * _mbsdec(const unsigned char *str, const unsigned char *cur) s--; return s; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbsdup.c b/reactos/lib/crtdll/mbstring/mbsdup.c index 65c1c7ec506..ac502525e22 100644 --- a/reactos/lib/crtdll/mbstring/mbsdup.c +++ b/reactos/lib/crtdll/mbstring/mbsdup.c @@ -22,4 +22,4 @@ unsigned char * _mbsdup(const unsigned char *_s) return 0; _mbscpy(rv, _s); return rv; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbsicmp.c b/reactos/lib/crtdll/mbstring/mbsicmp.c index cff819191c3..f8103c5f63e 100644 --- a/reactos/lib/crtdll/mbstring/mbsicmp.c +++ b/reactos/lib/crtdll/mbstring/mbsicmp.c @@ -59,4 +59,4 @@ int _mbsicmp(const unsigned char *str1, const unsigned char *str2) s2++; } return toupper(*(unsigned const char *)s1) - toupper(*(unsigned const char *)(s2)); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbslen.c b/reactos/lib/crtdll/mbstring/mbslen.c index dd58362dd21..3eca134268c 100644 --- a/reactos/lib/crtdll/mbstring/mbslen.c +++ b/reactos/lib/crtdll/mbstring/mbslen.c @@ -12,4 +12,4 @@ size_t _mbslen(const unsigned char *str) for (s = (unsigned char *)str; *s; s+=_mbclen2(*s),i++); return i; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbslwr.c b/reactos/lib/crtdll/mbstring/mbslwr.c index 694724a3d35..cdbdf5f5c15 100644 --- a/reactos/lib/crtdll/mbstring/mbslwr.c +++ b/reactos/lib/crtdll/mbstring/mbslwr.c @@ -37,4 +37,4 @@ unsigned char * _mbslwr(unsigned char *x) } } return x; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbsnccnt.c b/reactos/lib/crtdll/mbstring/mbsnccnt.c index 05ae2867735..1e30c9b312a 100644 --- a/reactos/lib/crtdll/mbstring/mbsnccnt.c +++ b/reactos/lib/crtdll/mbstring/mbsnccnt.c @@ -26,4 +26,4 @@ size_t _mbsnbcnt(const unsigned char *str, size_t n) } return (size_t)(s - str); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbsncmp.c b/reactos/lib/crtdll/mbstring/mbsncmp.c index 88eb41d9b4a..00bd789fa00 100644 --- a/reactos/lib/crtdll/mbstring/mbsncmp.c +++ b/reactos/lib/crtdll/mbstring/mbsncmp.c @@ -100,4 +100,4 @@ int _mbsnbcmp(const unsigned char *str1, const unsigned char *str2, size_t n) return *s1 - *s2; } while (n > 0); return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbsncoll.c b/reactos/lib/crtdll/mbstring/mbsncoll.c index f1a27031861..157f4ef2731 100644 --- a/reactos/lib/crtdll/mbstring/mbsncoll.c +++ b/reactos/lib/crtdll/mbstring/mbsncoll.c @@ -106,4 +106,4 @@ int _mbsnbcoll(const unsigned char *str1, const unsigned char *str2, size_t n) int colldif(unsigned short c1, unsigned short c2) { return c1 - c2; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbsncpy.c b/reactos/lib/crtdll/mbstring/mbsncpy.c index 220d17fcf66..41fe4450e31 100644 --- a/reactos/lib/crtdll/mbstring/mbsncpy.c +++ b/reactos/lib/crtdll/mbstring/mbsncpy.c @@ -74,4 +74,4 @@ unsigned char * _mbsnbcpy(unsigned char *str1, const unsigned char *str2, size_t } } while (n > 0); return str1; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbsnextc.c b/reactos/lib/crtdll/mbstring/mbsnextc.c index d3746d803da..5d3bb0a23d8 100644 --- a/reactos/lib/crtdll/mbstring/mbsnextc.c +++ b/reactos/lib/crtdll/mbstring/mbsnextc.c @@ -15,4 +15,4 @@ unsigned int _mbsnextc (const unsigned char *src) return *short_src; return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbsnicoll.c b/reactos/lib/crtdll/mbstring/mbsnicoll.c index 12f7806ab2e..4b066e86400 100644 --- a/reactos/lib/crtdll/mbstring/mbsnicoll.c +++ b/reactos/lib/crtdll/mbstring/mbsnicoll.c @@ -7,4 +7,4 @@ int _mbsnicoll(const unsigned char *s1, const unsigned char *s2, size_t n) int _mbsnbicoll(const unsigned char *s1, const unsigned char *s2, size_t n) { return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbsninc.c b/reactos/lib/crtdll/mbstring/mbsninc.c index 3fb6e4f079f..3fb1235d02c 100644 --- a/reactos/lib/crtdll/mbstring/mbsninc.c +++ b/reactos/lib/crtdll/mbstring/mbsninc.c @@ -10,4 +10,4 @@ unsigned char * _mbsninc(const unsigned char *str, size_t n) } return s; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbsnset.c b/reactos/lib/crtdll/mbstring/mbsnset.c index a30ad4d67a5..6c78d31bdd8 100644 --- a/reactos/lib/crtdll/mbstring/mbsnset.c +++ b/reactos/lib/crtdll/mbstring/mbsnset.c @@ -61,4 +61,4 @@ unsigned char * _mbsnbset(unsigned char *src, unsigned int val, size_t count) } return src; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbspbrk.c b/reactos/lib/crtdll/mbstring/mbspbrk.c index 8112be9643b..7b6e3270acb 100644 --- a/reactos/lib/crtdll/mbstring/mbspbrk.c +++ b/reactos/lib/crtdll/mbstring/mbspbrk.c @@ -12,4 +12,4 @@ unsigned char * _mbspbrk(const unsigned char *s1, const unsigned char *s2) return (unsigned char *)((char *)s1 - (char *)1); } return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbsrev.c b/reactos/lib/crtdll/mbstring/mbsrev.c index 6a9eb1e2f37..57cc33565df 100644 --- a/reactos/lib/crtdll/mbstring/mbsrev.c +++ b/reactos/lib/crtdll/mbstring/mbsrev.c @@ -25,4 +25,4 @@ unsigned char * _mbsrev(unsigned char *s) return s; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbsspn.c b/reactos/lib/crtdll/mbstring/mbsspn.c index 9cd0498f801..6ad7fef24c4 100644 --- a/reactos/lib/crtdll/mbstring/mbsspn.c +++ b/reactos/lib/crtdll/mbstring/mbsspn.c @@ -12,4 +12,4 @@ size_t _mbsspn(const unsigned char *s1, const unsigned char *s2) goto cont; return (size_t)(p - 1) - (size_t)s1; // - (char *)s1); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbsspnp.c b/reactos/lib/crtdll/mbstring/mbsspnp.c index ee22b4feb79..d8ec9e1b15e 100644 --- a/reactos/lib/crtdll/mbstring/mbsspnp.c +++ b/reactos/lib/crtdll/mbstring/mbsspnp.c @@ -11,4 +11,4 @@ unsigned char * _mbsspnp(const unsigned char *s1, const unsigned char *s2) if (sc == c) goto cont; return (unsigned char *)p; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbsstr.c b/reactos/lib/crtdll/mbstring/mbsstr.c index f6c850d60f3..321b36b1fcc 100644 --- a/reactos/lib/crtdll/mbstring/mbsstr.c +++ b/reactos/lib/crtdll/mbstring/mbsstr.c @@ -17,4 +17,4 @@ unsigned char *_mbsstr(const unsigned char *src1,const unsigned char *src2) src1 = (unsigned char *)_mbsinc(src1); } return NULL; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbstok.c b/reactos/lib/crtdll/mbstring/mbstok.c index b27cf76769a..cc2f0cbee4b 100644 --- a/reactos/lib/crtdll/mbstring/mbstok.c +++ b/reactos/lib/crtdll/mbstring/mbstok.c @@ -50,4 +50,4 @@ unsigned char * _mbstok(unsigned char *s, const unsigned char *delim) } while (sc != 0); } /* NOTREACHED */ -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbstrlen.c b/reactos/lib/crtdll/mbstring/mbstrlen.c index 662595edafb..7cfd19f0728 100644 --- a/reactos/lib/crtdll/mbstring/mbstrlen.c +++ b/reactos/lib/crtdll/mbstring/mbstrlen.c @@ -13,4 +13,4 @@ size_t _mbstrlen( const char *string ) i++; } return i; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/mbstring/mbsupr.c b/reactos/lib/crtdll/mbstring/mbsupr.c index 5ca7ae5d63c..90e5b0f2c67 100644 --- a/reactos/lib/crtdll/mbstring/mbsupr.c +++ b/reactos/lib/crtdll/mbstring/mbsupr.c @@ -47,4 +47,4 @@ unsigned char * _mbsupr(unsigned char *x) } } return x; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/misc/purecall.c b/reactos/lib/crtdll/misc/purecall.c index f522dee7589..429474249a1 100644 --- a/reactos/lib/crtdll/misc/purecall.c +++ b/reactos/lib/crtdll/misc/purecall.c @@ -2,4 +2,4 @@ int _purecall(void) { return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/process/thread.c b/reactos/lib/crtdll/process/thread.c index 903fe2e59f1..c2a12d3d3de 100644 --- a/reactos/lib/crtdll/process/thread.c +++ b/reactos/lib/crtdll/process/thread.c @@ -25,4 +25,4 @@ void _endthread(void) //fixme ExitThread //ExitThread(0); for(;;); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/process/threadid.c b/reactos/lib/crtdll/process/threadid.c index 404ac06081f..3b5c9aa3da4 100644 --- a/reactos/lib/crtdll/process/threadid.c +++ b/reactos/lib/crtdll/process/threadid.c @@ -9,4 +9,4 @@ unsigned long __threadid (void) void *__threadhandle(void) { return GetCurrentThread(); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/signal/xcptfil.c b/reactos/lib/crtdll/signal/xcptfil.c index 3028e9a9538..a2e54976911 100644 --- a/reactos/lib/crtdll/signal/xcptfil.c +++ b/reactos/lib/crtdll/signal/xcptfil.c @@ -8,4 +8,4 @@ int _XcptFilter ( { //fixme XcptFilter // return UnhandledExceptionFilter(ExceptionInfo); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/signal/xcptinfo.c b/reactos/lib/crtdll/signal/xcptinfo.c index a19f71011aa..d32f760274f 100644 --- a/reactos/lib/crtdll/signal/xcptinfo.c +++ b/reactos/lib/crtdll/signal/xcptinfo.c @@ -3,4 +3,4 @@ void **__pxcptinfoptrs (void) { return NULL; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/stdio/fflush.c b/reactos/lib/crtdll/stdio/fflush.c index 6d7197d1bea..0dc66f2a9c2 100644 --- a/reactos/lib/crtdll/stdio/fflush.c +++ b/reactos/lib/crtdll/stdio/fflush.c @@ -108,4 +108,4 @@ int fflush(FILE *f) int _flushall( void ) { return fflush(NULL); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/stdio/fgetchar.c b/reactos/lib/crtdll/stdio/fgetchar.c index 8c925d4da27..392f7e2ca38 100644 --- a/reactos/lib/crtdll/stdio/fgetchar.c +++ b/reactos/lib/crtdll/stdio/fgetchar.c @@ -10,4 +10,4 @@ int _fgetchar (void) int _fgetwchar (void) { return _getch(); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/stdio/flsbuf.c b/reactos/lib/crtdll/stdio/flsbuf.c index 574525a7c02..2a0feb62798 100644 --- a/reactos/lib/crtdll/stdio/flsbuf.c +++ b/reactos/lib/crtdll/stdio/flsbuf.c @@ -176,4 +176,4 @@ int cntcr(char *bufp, int bufsiz) } return cr; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/stdio/fwrite.c b/reactos/lib/crtdll/stdio/fwrite.c index 4dcc8d7e5ce..77964169f0a 100644 --- a/reactos/lib/crtdll/stdio/fwrite.c +++ b/reactos/lib/crtdll/stdio/fwrite.c @@ -81,4 +81,4 @@ size_t fwrite(const void *vptr, size_t size, size_t count, FILE *iop) } -#endif \ No newline at end of file +#endif diff --git a/reactos/lib/crtdll/stdio/ungetc.c b/reactos/lib/crtdll/stdio/ungetc.c index 848622dc3d8..99ef4711cd8 100644 --- a/reactos/lib/crtdll/stdio/ungetc.c +++ b/reactos/lib/crtdll/stdio/ungetc.c @@ -72,4 +72,4 @@ ungetwc(wchar_t c, FILE *f) *((wchar_t *)(f->_ptr)) = c; return c; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/stdio/vsprintf.c b/reactos/lib/crtdll/stdio/vsprintf.c index 362c29f8f12..52e899eafa8 100644 --- a/reactos/lib/crtdll/stdio/vsprintf.c +++ b/reactos/lib/crtdll/stdio/vsprintf.c @@ -26,7 +26,7 @@ vswprintf(wchar_t *str, const wchar_t *fmt, va_list ap) int len; f._flag = _IOWRT|_IOSTRG; - f._ptr = str; + f._ptr = (char*)str; f._cnt = INT_MAX; f._file = -1; len = vfwprintf(&f,fmt, ap); @@ -56,7 +56,7 @@ _vsnwprintf(wchar_t *str, size_t maxlen, const wchar_t *fmt, va_list ap) FILE f; int len; f._flag = _IOWRT|_IOSTRG; - f._ptr = str; + f._ptr = (char*)str; f._cnt = maxlen; f._file = -1; len = vfwprintf(&f,fmt, ap); diff --git a/reactos/lib/crtdll/stdlib/itoa.c b/reactos/lib/crtdll/stdlib/itoa.c index f8b77cf8f90..087c8b4ca6e 100644 --- a/reactos/lib/crtdll/stdlib/itoa.c +++ b/reactos/lib/crtdll/stdlib/itoa.c @@ -135,4 +135,4 @@ _ultoa(unsigned long value, char *string, int radix) *sp++ = *--tp; *sp = 0; return string; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/stdlib/mbstowcs.c b/reactos/lib/crtdll/stdlib/mbstowcs.c index 26cf8232f7a..6e0f5589791 100644 --- a/reactos/lib/crtdll/stdlib/mbstowcs.c +++ b/reactos/lib/crtdll/stdlib/mbstowcs.c @@ -8,4 +8,4 @@ size_t mbstowcs( wchar_t *wcstr, const char *mbstr, size_t count ) int mbtowc( wchar_t *wchar, const char *mbchar, size_t count ) { return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/stdlib/rot.c b/reactos/lib/crtdll/stdlib/rot.c index 608aa732d92..7a67cb612fe 100644 --- a/reactos/lib/crtdll/stdlib/rot.c +++ b/reactos/lib/crtdll/stdlib/rot.c @@ -53,4 +53,4 @@ unsigned long _lrotr( unsigned long value, int shift ) if ( shift > max_bits ) shift = shift % max_bits; return (value >> shift) | (value << (max_bits-shift)); -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/stdlib/wcstomb.c b/reactos/lib/crtdll/stdlib/wcstomb.c index 4742dd3afb8..832672a7b52 100644 --- a/reactos/lib/crtdll/stdlib/wcstomb.c +++ b/reactos/lib/crtdll/stdlib/wcstomb.c @@ -29,7 +29,7 @@ static const wchar_t encoding_mask[] = { - ~0x7ff, ~0xffff, ~0x1fffff, ~0x3ffffff + (wchar_t)~0x7ff, (wchar_t)~0xffff, (wchar_t)~0x1fffff, (wchar_t)~0x3ffffff }; static const unsigned char encoding_byte[] = diff --git a/reactos/lib/crtdll/string/strset.c b/reactos/lib/crtdll/string/strset.c index 68abdcfe7a6..009ddc2cee9 100644 --- a/reactos/lib/crtdll/string/strset.c +++ b/reactos/lib/crtdll/string/strset.c @@ -25,4 +25,4 @@ char* _strset (char* szToFill, int szFill) } return t; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/sys_stat/futime.c b/reactos/lib/crtdll/sys_stat/futime.c index a17d34bab5c..cde6bfb07a9 100644 --- a/reactos/lib/crtdll/sys_stat/futime.c +++ b/reactos/lib/crtdll/sys_stat/futime.c @@ -36,4 +36,4 @@ int _futime (int nHandle, struct _utimbuf *pTimes) } return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/sys_stat/systime.c b/reactos/lib/crtdll/sys_stat/systime.c index 466451f5603..2289ad429a1 100644 --- a/reactos/lib/crtdll/sys_stat/systime.c +++ b/reactos/lib/crtdll/sys_stat/systime.c @@ -64,4 +64,4 @@ unsigned int _setsystime(struct tm *tp, unsigned int ms) return -1; return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/time/strdate.c b/reactos/lib/crtdll/time/strdate.c index b9b25657bcb..ca9b013c5fb 100644 --- a/reactos/lib/crtdll/time/strdate.c +++ b/reactos/lib/crtdll/time/strdate.c @@ -27,4 +27,4 @@ char *_strdate( const char *datestr ) d = localtime(&t); sprintf(dt,"%d/%d/%d",d->tm_mday,d->tm_mon+1,d->tm_year); return dt; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/time/strftime.c b/reactos/lib/crtdll/time/strftime.c index 243fe90f114..c5c65dff78c 100644 --- a/reactos/lib/crtdll/time/strftime.c +++ b/reactos/lib/crtdll/time/strftime.c @@ -261,4 +261,4 @@ wcsftime(wchar_t *s, size_t maxsize, const wchar_t *format, const struct tm *t) free(f); free(x); return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/time/strtime.c b/reactos/lib/crtdll/time/strtime.c index c35dc47c7fc..82497a0e6bd 100644 --- a/reactos/lib/crtdll/time/strtime.c +++ b/reactos/lib/crtdll/time/strtime.c @@ -26,4 +26,4 @@ char *_strtime(char* buf) d = localtime(&t); sprintf(dt,"%d:%d:%d",d->tm_hour,d->tm_min,d->tm_sec); return dt; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/wchar/wcspbrk.c b/reactos/lib/crtdll/wchar/wcspbrk.c index f3643665fd5..ccef388a631 100644 --- a/reactos/lib/crtdll/wchar/wcspbrk.c +++ b/reactos/lib/crtdll/wchar/wcspbrk.c @@ -13,4 +13,4 @@ wchar_t *wcspbrk(const wchar_t *s1, const wchar_t *s2) } } return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/wchar/wcsset.c b/reactos/lib/crtdll/wchar/wcsset.c index f6b061358d5..e4b2ee9eda2 100644 --- a/reactos/lib/crtdll/wchar/wcsset.c +++ b/reactos/lib/crtdll/wchar/wcsset.c @@ -24,4 +24,4 @@ wchar_t* _wcsset (wchar_t* wsToFill, wchar_t wcFill) } return t; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/wchar/wcsxfrm.c b/reactos/lib/crtdll/wchar/wcsxfrm.c index c5499792540..91ae8e6f820 100644 --- a/reactos/lib/crtdll/wchar/wcsxfrm.c +++ b/reactos/lib/crtdll/wchar/wcsxfrm.c @@ -20,4 +20,4 @@ size_t wcsxfrm(wchar_t *dst,const wchar_t *src, size_t n) *dst = 0; } return r; -} \ No newline at end of file +} diff --git a/reactos/lib/crtdll/wchar/wtoi.c b/reactos/lib/crtdll/wchar/wtoi.c index 003f7c8e571..6aeb3d16772 100644 --- a/reactos/lib/crtdll/wchar/wtoi.c +++ b/reactos/lib/crtdll/wchar/wtoi.c @@ -8,4 +8,4 @@ int _wtoi( const wchar_t *str ) long _wtol( const wchar_t *str ) { return (int)wcstol(str, 0, 10); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/direct/getdrive.c b/reactos/lib/msvcrt/direct/getdrive.c index baa889e562d..e2b6e66aff9 100644 --- a/reactos/lib/msvcrt/direct/getdrive.c +++ b/reactos/lib/msvcrt/direct/getdrive.c @@ -22,4 +22,4 @@ unsigned long _getdrives(void) //fixme get logical drives //return GetLogicalDrives(); return 5; // drive A and C -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/except/abnorter.c b/reactos/lib/msvcrt/except/abnorter.c index 9c913832c18..2efd11a31f8 100644 --- a/reactos/lib/msvcrt/except/abnorter.c +++ b/reactos/lib/msvcrt/except/abnorter.c @@ -4,4 +4,4 @@ int _abnormal_termination(void) { printf("Abnormal Termination\n"); // return AbnormalTermination(); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/except/exhand2.c b/reactos/lib/msvcrt/except/exhand2.c index a7022658559..b9f8b365502 100644 --- a/reactos/lib/msvcrt/except/exhand2.c +++ b/reactos/lib/msvcrt/except/exhand2.c @@ -16,4 +16,4 @@ struct _CONTEXT *ContextRecord, void *DispatcherContext) { printf("_except_handler2()\n"); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/except/exhand3.c b/reactos/lib/msvcrt/except/exhand3.c index 003650477b0..5f426475273 100644 --- a/reactos/lib/msvcrt/except/exhand3.c +++ b/reactos/lib/msvcrt/except/exhand3.c @@ -16,4 +16,4 @@ struct _CONTEXT *ContextRecord, void *DispatcherContext) { printf("_except_handler3()\n"); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/except/matherr.c b/reactos/lib/msvcrt/except/matherr.c index 4ff7e29dd89..5d03db29c33 100644 --- a/reactos/lib/msvcrt/except/matherr.c +++ b/reactos/lib/msvcrt/except/matherr.c @@ -25,4 +25,4 @@ int _fpieee_flt( ) { return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/float/logb.c b/reactos/lib/msvcrt/float/logb.c index 28257d6bdbc..140a104ba66 100644 --- a/reactos/lib/msvcrt/float/logb.c +++ b/reactos/lib/msvcrt/float/logb.c @@ -28,4 +28,4 @@ double _logb (double __x) : "=t" (__junk), "=u" (__value) : "0" (__x)); return __value; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/io/chmod.c b/reactos/lib/msvcrt/io/chmod.c index 11e7cad0c7f..8932834d496 100644 --- a/reactos/lib/msvcrt/io/chmod.c +++ b/reactos/lib/msvcrt/io/chmod.c @@ -50,4 +50,4 @@ int _wchmod(const wchar_t *filename, mode_t mode) return -1; return 1; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/io/lseek.c b/reactos/lib/msvcrt/io/lseek.c index 34848e47cfc..4f03d437ec4 100644 --- a/reactos/lib/msvcrt/io/lseek.c +++ b/reactos/lib/msvcrt/io/lseek.c @@ -14,4 +14,4 @@ __int64 _lseeki64(int _fildes, __int64 _offset, int _whence) lo_pos = SetFilePointer((HANDLE)filehnd(_fildes), _offset, &hi_pos, _whence); return((((__int64)hi_pos) << 32) + lo_pos); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/math/acos.c b/reactos/lib/msvcrt/math/acos.c index 6619c30fece..9bde5e95b0a 100644 --- a/reactos/lib/msvcrt/math/acos.c +++ b/reactos/lib/msvcrt/math/acos.c @@ -23,4 +23,4 @@ double acos (double __x) { return atan2 (sqrt (1.0 - __x * __x), __x); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/math/asin.c b/reactos/lib/msvcrt/math/asin.c index eedd33829f8..5f912baead1 100644 --- a/reactos/lib/msvcrt/math/asin.c +++ b/reactos/lib/msvcrt/math/asin.c @@ -23,4 +23,4 @@ double asin (double __x) { return atan2 (__x, sqrt (1.0 - __x * __x)); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/math/atan.c b/reactos/lib/msvcrt/math/atan.c index c7a472815b5..d1df5035bd0 100644 --- a/reactos/lib/msvcrt/math/atan.c +++ b/reactos/lib/msvcrt/math/atan.c @@ -31,4 +31,4 @@ double atan (double __x) : "=t" (__value) : "0" (__x)); return __value; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/math/atan2.c b/reactos/lib/msvcrt/math/atan2.c index e9ec8557cb6..f430c2770b9 100644 --- a/reactos/lib/msvcrt/math/atan2.c +++ b/reactos/lib/msvcrt/math/atan2.c @@ -12,4 +12,4 @@ double atan2 (double __y, double __x) : "=t" (__value) : "0" (__x), "u" (__y)); return __value; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/math/fabs.c b/reactos/lib/msvcrt/math/fabs.c index fa0679ab612..2e1587a9896 100644 --- a/reactos/lib/msvcrt/math/fabs.c +++ b/reactos/lib/msvcrt/math/fabs.c @@ -30,4 +30,4 @@ double fabs (double __x) : "=t" (__value) : "0" (__x)); return __value; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/math/fmod.c b/reactos/lib/msvcrt/math/fmod.c index 7c6cecd1886..823fc00a77d 100644 --- a/reactos/lib/msvcrt/math/fmod.c +++ b/reactos/lib/msvcrt/math/fmod.c @@ -33,4 +33,4 @@ double fmod (double __x, double __y) : "=t" (__value) : "0" (__x), "u" (__y) : "ax", "cc"); return __value; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/math/j1_y1.c b/reactos/lib/msvcrt/math/j1_y1.c index 1f8bd093b33..fa0f618f3fd 100644 --- a/reactos/lib/msvcrt/math/j1_y1.c +++ b/reactos/lib/msvcrt/math/j1_y1.c @@ -8,4 +8,4 @@ double _j1(double x) double _y1(double x) { return x; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/math/jn_yn.c b/reactos/lib/msvcrt/math/jn_yn.c index b3a718163d4..b641a81dc07 100644 --- a/reactos/lib/msvcrt/math/jn_yn.c +++ b/reactos/lib/msvcrt/math/jn_yn.c @@ -8,4 +8,4 @@ double _jn(int n, double x) double _yn(int n, double x) { return x; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/math/ldexp.c b/reactos/lib/msvcrt/math/ldexp.c index 22cda219ad6..65e9e254237 100644 --- a/reactos/lib/msvcrt/math/ldexp.c +++ b/reactos/lib/msvcrt/math/ldexp.c @@ -30,4 +30,4 @@ double ldexp (double __x, int __y) : "=t" (__value) : "0" (__x), "u" ((double) __y)); return __value; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/math/log.c b/reactos/lib/msvcrt/math/log.c index 1788696bb05..e9b7cb64ec4 100644 --- a/reactos/lib/msvcrt/math/log.c +++ b/reactos/lib/msvcrt/math/log.c @@ -32,4 +32,4 @@ double log (double __x) : "=t" (__value) : "0" (__x)); return __value; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/math/log10.c b/reactos/lib/msvcrt/math/log10.c index 19258c29038..e1988374d1c 100644 --- a/reactos/lib/msvcrt/math/log10.c +++ b/reactos/lib/msvcrt/math/log10.c @@ -32,4 +32,4 @@ double log10 (double __x) : "=t" (__value) : "0" (__x)); return __value; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/math/sin.c b/reactos/lib/msvcrt/math/sin.c index 18ff3cf05b6..97e58a3059c 100644 --- a/reactos/lib/msvcrt/math/sin.c +++ b/reactos/lib/msvcrt/math/sin.c @@ -30,4 +30,4 @@ double sin (double __x) : "=t" (__value) : "0" (__x)); return __value; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/math/sqrt.c b/reactos/lib/msvcrt/math/sqrt.c index d775407695f..47e5e5ff7fd 100644 --- a/reactos/lib/msvcrt/math/sqrt.c +++ b/reactos/lib/msvcrt/math/sqrt.c @@ -29,4 +29,4 @@ double sqrt (double __x) : "=t" (__value) : "0" (__x)); return __value; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/math/stubs.c b/reactos/lib/msvcrt/math/stubs.c index a367bc448e6..a43b9fc9ca2 100644 --- a/reactos/lib/msvcrt/math/stubs.c +++ b/reactos/lib/msvcrt/math/stubs.c @@ -81,4 +81,4 @@ double _CIsqrt (double x) double _CIfmod (double x, double y) { return fmod(x,y); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/iskana.c b/reactos/lib/msvcrt/mbstring/iskana.c index ef6908fa4bc..f7d028b6925 100644 --- a/reactos/lib/msvcrt/mbstring/iskana.c +++ b/reactos/lib/msvcrt/mbstring/iskana.c @@ -14,4 +14,4 @@ int _ismbbkana(unsigned char c) { return ((_jctype+1)[(unsigned char)(c)] & (_KNJ_M|_KNJ_P)); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/iskpun.c b/reactos/lib/msvcrt/mbstring/iskpun.c index e0d97c727fb..fc04c8dc946 100644 --- a/reactos/lib/msvcrt/mbstring/iskpun.c +++ b/reactos/lib/msvcrt/mbstring/iskpun.c @@ -12,4 +12,4 @@ int _ismbbkpunct( unsigned int c ) { return ((_jctype+1)[(unsigned char)(c)] & (_KNJ_P)); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/islead.c b/reactos/lib/msvcrt/mbstring/islead.c index d5560cf4b5d..08ff0a6693d 100644 --- a/reactos/lib/msvcrt/mbstring/islead.c +++ b/reactos/lib/msvcrt/mbstring/islead.c @@ -5,4 +5,4 @@ int isleadbyte(char *mbstr) { return 0; //return IsDBCSLeadByteEx(0,*c); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/ismbaln.c b/reactos/lib/msvcrt/mbstring/ismbaln.c index 01509c6e4b0..85c270192aa 100644 --- a/reactos/lib/msvcrt/mbstring/ismbaln.c +++ b/reactos/lib/msvcrt/mbstring/ismbaln.c @@ -5,4 +5,4 @@ int _ismbbalnum(unsigned char c) { return (isalnum(c) || _ismbbkalnum(c)); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/ismbc.c b/reactos/lib/msvcrt/mbstring/ismbc.c index cae3463de46..6c2ece21145 100644 --- a/reactos/lib/msvcrt/mbstring/ismbc.c +++ b/reactos/lib/msvcrt/mbstring/ismbc.c @@ -102,4 +102,4 @@ int _ismbcl1(unsigned int c) int _ismbcl2(unsigned int c) { return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/ismbgra.c b/reactos/lib/msvcrt/mbstring/ismbgra.c index ca458d60a65..d86781fa442 100644 --- a/reactos/lib/msvcrt/mbstring/ismbgra.c +++ b/reactos/lib/msvcrt/mbstring/ismbgra.c @@ -5,4 +5,4 @@ int _ismbbgraph(unsigned char c) { return (isgraph(c) || _ismbbkana(c)); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/ismbkaln.c b/reactos/lib/msvcrt/mbstring/ismbkaln.c index 8a5d639d105..446a5981d8e 100644 --- a/reactos/lib/msvcrt/mbstring/ismbkaln.c +++ b/reactos/lib/msvcrt/mbstring/ismbkaln.c @@ -13,4 +13,4 @@ int _ismbbkalnum( unsigned int c ) { return ((_jctype+1)[(unsigned char)(c)] & (_KNJ_P)); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/ismbpun.c b/reactos/lib/msvcrt/mbstring/ismbpun.c index 15edc80ffd7..8b6d673659c 100644 --- a/reactos/lib/msvcrt/mbstring/ismbpun.c +++ b/reactos/lib/msvcrt/mbstring/ismbpun.c @@ -10,4 +10,4 @@ int _ismbbpunct(unsigned char c) { // (0xA1 <= c <= 0xA6) return (ispunct(c) || _ismbbkana(c)); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/ismbtrl.c b/reactos/lib/msvcrt/mbstring/ismbtrl.c index 067005a6756..aeeff7eb25a 100644 --- a/reactos/lib/msvcrt/mbstring/ismbtrl.c +++ b/reactos/lib/msvcrt/mbstring/ismbtrl.c @@ -36,4 +36,4 @@ int _ismbstrail( const unsigned char *str, const unsigned char *t) } return _ismbbtrail(*s); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/jistojms.c b/reactos/lib/msvcrt/mbstring/jistojms.c index 188905bbc85..c05d80e16b1 100644 --- a/reactos/lib/msvcrt/mbstring/jistojms.c +++ b/reactos/lib/msvcrt/mbstring/jistojms.c @@ -21,4 +21,4 @@ unsigned short _mbcjistojms(unsigned short c) return ((c1 << 8) | c2); } return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/jmstojis.c b/reactos/lib/msvcrt/mbstring/jmstojis.c index d53888e4aca..62c948d3ebc 100644 --- a/reactos/lib/msvcrt/mbstring/jmstojis.c +++ b/reactos/lib/msvcrt/mbstring/jmstojis.c @@ -22,4 +22,4 @@ unsigned short _mbcjmstojis(unsigned short c) return ((c1 << 8) | c2); } return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/mbccpy.c b/reactos/lib/msvcrt/mbstring/mbccpy.c index 7dcb2887256..6cf434ecd3b 100644 --- a/reactos/lib/msvcrt/mbstring/mbccpy.c +++ b/reactos/lib/msvcrt/mbstring/mbccpy.c @@ -9,4 +9,4 @@ void _mbccpy(unsigned char *dst, const unsigned char *src) return; memcpy(dst,src,_mbclen2(*src)); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/mbscat.c b/reactos/lib/msvcrt/mbstring/mbscat.c index 0ab0872299d..dc6a982cad8 100644 --- a/reactos/lib/msvcrt/mbstring/mbscat.c +++ b/reactos/lib/msvcrt/mbstring/mbscat.c @@ -3,4 +3,4 @@ unsigned char * _mbscat(unsigned char *dst, const unsigned char *src) { return strcat(dst,src); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/mbschr.c b/reactos/lib/msvcrt/mbstring/mbschr.c index 33b6d49b319..70c4c67bade 100644 --- a/reactos/lib/msvcrt/mbstring/mbschr.c +++ b/reactos/lib/msvcrt/mbstring/mbschr.c @@ -3,4 +3,4 @@ unsigned char * _mbschr(const unsigned char *str, unsigned int c) { return strchr(str,c); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/mbscmp.c b/reactos/lib/msvcrt/mbstring/mbscmp.c index 86c05c24fe9..3bc0d98c058 100644 --- a/reactos/lib/msvcrt/mbstring/mbscmp.c +++ b/reactos/lib/msvcrt/mbstring/mbscmp.c @@ -4,4 +4,4 @@ int _mbscmp(const unsigned char *str1, const unsigned char *str2) { return strcmp(str1,str2); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/mbscpy.c b/reactos/lib/msvcrt/mbstring/mbscpy.c index c29b10e5931..247900aa76a 100644 --- a/reactos/lib/msvcrt/mbstring/mbscpy.c +++ b/reactos/lib/msvcrt/mbstring/mbscpy.c @@ -4,4 +4,4 @@ unsigned char * _mbscpy(unsigned char *dst, const unsigned char *str) { return strcpy(dst,str); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/mbsdec.c b/reactos/lib/msvcrt/mbstring/mbsdec.c index ba94cf6f862..0836f15c971 100644 --- a/reactos/lib/msvcrt/mbstring/mbsdec.c +++ b/reactos/lib/msvcrt/mbstring/mbsdec.c @@ -11,4 +11,4 @@ unsigned char * _mbsdec(const unsigned char *str, const unsigned char *cur) s--; return s; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/mbsdup.c b/reactos/lib/msvcrt/mbstring/mbsdup.c index 9195f389b21..00dc9d05c97 100644 --- a/reactos/lib/msvcrt/mbstring/mbsdup.c +++ b/reactos/lib/msvcrt/mbstring/mbsdup.c @@ -22,4 +22,4 @@ unsigned char * _mbsdup(const unsigned char *_s) return 0; _mbscpy(rv, _s); return rv; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/mbsicmp.c b/reactos/lib/msvcrt/mbstring/mbsicmp.c index dbd861f584d..db88fede13c 100644 --- a/reactos/lib/msvcrt/mbstring/mbsicmp.c +++ b/reactos/lib/msvcrt/mbstring/mbsicmp.c @@ -59,4 +59,4 @@ int _mbsicmp(const unsigned char *str1, const unsigned char *str2) s2++; } return toupper(*(unsigned const char *)s1) - toupper(*(unsigned const char *)(s2)); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/mbslen.c b/reactos/lib/msvcrt/mbstring/mbslen.c index f656819c1c6..06386b26756 100644 --- a/reactos/lib/msvcrt/mbstring/mbslen.c +++ b/reactos/lib/msvcrt/mbstring/mbslen.c @@ -12,4 +12,4 @@ size_t _mbslen(const unsigned char *str) for (s = (unsigned char *)str; *s; s+=_mbclen2(*s),i++); return i; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/mbsncat.c b/reactos/lib/msvcrt/mbstring/mbsncat.c index 22bee368174..a875ab0072f 100644 --- a/reactos/lib/msvcrt/mbstring/mbsncat.c +++ b/reactos/lib/msvcrt/mbstring/mbsncat.c @@ -56,3 +56,4 @@ unsigned char * _mbsnbcat(unsigned char *dst, const unsigned char *src, size_t n } return dst; } + diff --git a/reactos/lib/msvcrt/mbstring/mbsnccnt.c b/reactos/lib/msvcrt/mbstring/mbsnccnt.c index d1052b2f308..daa44844d68 100644 --- a/reactos/lib/msvcrt/mbstring/mbsnccnt.c +++ b/reactos/lib/msvcrt/mbstring/mbsnccnt.c @@ -26,4 +26,4 @@ size_t _mbsnbcnt(const unsigned char *str, size_t n) } return (size_t)(s - str); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/mbsncmp.c b/reactos/lib/msvcrt/mbstring/mbsncmp.c index 9e3fc8e60c7..8e1011bcf03 100644 --- a/reactos/lib/msvcrt/mbstring/mbsncmp.c +++ b/reactos/lib/msvcrt/mbstring/mbsncmp.c @@ -100,4 +100,4 @@ int _mbsnbcmp(const unsigned char *str1, const unsigned char *str2, size_t n) return *s1 - *s2; } while (n > 0); return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/mbsncoll.c b/reactos/lib/msvcrt/mbstring/mbsncoll.c index 41573d6a832..e32cbd0a6b6 100644 --- a/reactos/lib/msvcrt/mbstring/mbsncoll.c +++ b/reactos/lib/msvcrt/mbstring/mbsncoll.c @@ -106,4 +106,4 @@ int _mbsnbcoll(const unsigned char *str1, const unsigned char *str2, size_t n) int colldif(unsigned short c1, unsigned short c2) { return c1 - c2; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/mbsncpy.c b/reactos/lib/msvcrt/mbstring/mbsncpy.c index dfce6489312..a2e21c0b79c 100644 --- a/reactos/lib/msvcrt/mbstring/mbsncpy.c +++ b/reactos/lib/msvcrt/mbstring/mbsncpy.c @@ -74,4 +74,4 @@ unsigned char * _mbsnbcpy(unsigned char *str1, const unsigned char *str2, size_t } } while (n > 0); return str1; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/mbsnextc.c b/reactos/lib/msvcrt/mbstring/mbsnextc.c index 9a1f825c46e..9b9c4f7c13d 100644 --- a/reactos/lib/msvcrt/mbstring/mbsnextc.c +++ b/reactos/lib/msvcrt/mbstring/mbsnextc.c @@ -13,4 +13,4 @@ unsigned int _mbsnextc (const unsigned char *src) else return *short_src; return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/mbsnicmp.c b/reactos/lib/msvcrt/mbstring/mbsnicmp.c index 7b54513dd17..ef34bd15959 100644 --- a/reactos/lib/msvcrt/mbstring/mbsnicmp.c +++ b/reactos/lib/msvcrt/mbstring/mbsnicmp.c @@ -37,3 +37,4 @@ int _mbsnbicmp(const unsigned char *s1, const unsigned char *s2, size_t n) } while (n > 0); return 0; } + diff --git a/reactos/lib/msvcrt/mbstring/mbsnicoll.c b/reactos/lib/msvcrt/mbstring/mbsnicoll.c index e79e5d29b78..c163636eba7 100644 --- a/reactos/lib/msvcrt/mbstring/mbsnicoll.c +++ b/reactos/lib/msvcrt/mbstring/mbsnicoll.c @@ -8,4 +8,4 @@ int _mbsnicoll(const unsigned char *s1, const unsigned char *s2, size_t n) int _mbsnbicoll(const unsigned char *s1, const unsigned char *s2, size_t n) { return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/mbsninc.c b/reactos/lib/msvcrt/mbstring/mbsninc.c index 09c5e4c41e1..3cb3a4951ba 100644 --- a/reactos/lib/msvcrt/mbstring/mbsninc.c +++ b/reactos/lib/msvcrt/mbstring/mbsninc.c @@ -10,4 +10,4 @@ unsigned char * _mbsninc(const unsigned char *str, size_t n) } return s; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/mbsnset.c b/reactos/lib/msvcrt/mbstring/mbsnset.c index b762eef0aa0..75befef6ee5 100644 --- a/reactos/lib/msvcrt/mbstring/mbsnset.c +++ b/reactos/lib/msvcrt/mbstring/mbsnset.c @@ -61,4 +61,4 @@ unsigned char * _mbsnbset(unsigned char *src, unsigned int val, size_t count) } return src; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/mbsrev.c b/reactos/lib/msvcrt/mbstring/mbsrev.c index bb372fd68eb..5509c9d5c50 100644 --- a/reactos/lib/msvcrt/mbstring/mbsrev.c +++ b/reactos/lib/msvcrt/mbstring/mbsrev.c @@ -25,4 +25,4 @@ unsigned char * _mbsrev(unsigned char *s) return s; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/mbsspn.c b/reactos/lib/msvcrt/mbstring/mbsspn.c index 796d90fc74c..c9ca1ac6219 100644 --- a/reactos/lib/msvcrt/mbstring/mbsspn.c +++ b/reactos/lib/msvcrt/mbstring/mbsspn.c @@ -13,4 +13,4 @@ size_t _mbsspn(const unsigned char *s1, const unsigned char *s2) goto cont; return (size_t)(p - 1) - (size_t)s1; // - (char *)s1); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/mbsspnp.c b/reactos/lib/msvcrt/mbstring/mbsspnp.c index 7329ba5e35c..37b8f368efa 100644 --- a/reactos/lib/msvcrt/mbstring/mbsspnp.c +++ b/reactos/lib/msvcrt/mbstring/mbsspnp.c @@ -12,4 +12,4 @@ unsigned char * _mbsspnp(const unsigned char *s1, const unsigned char *s2) if (sc == c) goto cont; return (unsigned char *)p; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/mbsstr.c b/reactos/lib/msvcrt/mbstring/mbsstr.c index 9af8248386d..ba0b86231f2 100644 --- a/reactos/lib/msvcrt/mbstring/mbsstr.c +++ b/reactos/lib/msvcrt/mbstring/mbsstr.c @@ -17,4 +17,4 @@ unsigned char *_mbsstr(const unsigned char *src1,const unsigned char *src2) src1 = (unsigned char *)_mbsinc(src1); } return NULL; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/mbstok.c b/reactos/lib/msvcrt/mbstring/mbstok.c index 84e0104e5a2..fcd2f6525cd 100644 --- a/reactos/lib/msvcrt/mbstring/mbstok.c +++ b/reactos/lib/msvcrt/mbstring/mbstok.c @@ -50,4 +50,4 @@ unsigned char * _mbstok(unsigned char *s, const unsigned char *delim) } while (sc != 0); } /* NOTREACHED */ -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/mbstring/mbstrlen.c b/reactos/lib/msvcrt/mbstring/mbstrlen.c index ad9631c176a..aa356773a89 100644 --- a/reactos/lib/msvcrt/mbstring/mbstrlen.c +++ b/reactos/lib/msvcrt/mbstring/mbstrlen.c @@ -13,4 +13,4 @@ size_t _mbstrlen( const char *string ) i++; } return i; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/process/spawnvpe.c b/reactos/lib/msvcrt/process/spawnvpe.c index d93cf7a77c2..2ed34cebdb0 100644 --- a/reactos/lib/msvcrt/process/spawnvpe.c +++ b/reactos/lib/msvcrt/process/spawnvpe.c @@ -8,4 +8,4 @@ int _spawnvpe(int nMode, const char* szPath, char* const* szaArgv, char* const* { return spawnve(nMode, szPath, szaArgv, szaEnv); } -#endif \ No newline at end of file +#endif diff --git a/reactos/lib/msvcrt/process/threadid.c b/reactos/lib/msvcrt/process/threadid.c index cf4b6c63623..bd97858893c 100644 --- a/reactos/lib/msvcrt/process/threadid.c +++ b/reactos/lib/msvcrt/process/threadid.c @@ -9,4 +9,4 @@ unsigned long __threadid (void) void *__threadhandle(void) { return GetCurrentThread(); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/search/lsearch.c b/reactos/lib/msvcrt/search/lsearch.c index fe3e7675724..950952245af 100644 --- a/reactos/lib/msvcrt/search/lsearch.c +++ b/reactos/lib/msvcrt/search/lsearch.c @@ -13,4 +13,4 @@ void *_lsearch(const void *key, void *base, size_t *nelp, size_t width, memcpy(base + (*nelp*width), key, width); (*nelp)++; return base; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/stdio/fflush.c b/reactos/lib/msvcrt/stdio/fflush.c index fc09c8ca3ea..f7b36609516 100644 --- a/reactos/lib/msvcrt/stdio/fflush.c +++ b/reactos/lib/msvcrt/stdio/fflush.c @@ -108,4 +108,4 @@ int fflush(FILE *f) int _flushall( void ) { return fflush(NULL); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/stdio/fgetchar.c b/reactos/lib/msvcrt/stdio/fgetchar.c index 2b130a2b944..a80ce3a3115 100644 --- a/reactos/lib/msvcrt/stdio/fgetchar.c +++ b/reactos/lib/msvcrt/stdio/fgetchar.c @@ -9,4 +9,4 @@ int _fgetchar(void) int _fgetwchar(void) { return _getch(); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/stdio/flsbuf.c b/reactos/lib/msvcrt/stdio/flsbuf.c index 2e8c1d626c5..4af1ee9e86b 100644 --- a/reactos/lib/msvcrt/stdio/flsbuf.c +++ b/reactos/lib/msvcrt/stdio/flsbuf.c @@ -79,7 +79,7 @@ _flsbuf(int c, FILE *f) c1 = c; rn = 1; base = &c1; - f->_cnt = 0; + f->_cnt = 0; } else /* _IOFBF */ { @@ -106,7 +106,7 @@ _flsbuf(int c, FILE *f) base += n; } - + if ((f->_flag&(_IOLBF|_IONBF)) == 0) { f->_cnt--; @@ -176,4 +176,4 @@ int cntcr(char *bufp, int bufsiz) } return cr; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/stdio/vfprintf.c b/reactos/lib/msvcrt/stdio/vfprintf.c index ab45c8066f4..4beda1c3629 100644 --- a/reactos/lib/msvcrt/stdio/vfprintf.c +++ b/reactos/lib/msvcrt/stdio/vfprintf.c @@ -1,6 +1,6 @@ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ +#include #include -#include #include #include @@ -12,7 +12,7 @@ int _isinf(double x); int -__vfprintf (FILE *fp, const char *fmt0, va_list argp); +__vfprintf (FILE *fp, const char *fmt0, va_list args); int vfprintf(FILE *f, const char *fmt, va_list ap) @@ -404,7 +404,7 @@ static void numberfl(FILE * f, long double __n, char exp_sign, int size, int pr // # flags forces a . and prevents trucation of trailing zero's if ( precision > 0 ) { //frac = modfl(__n,&intr); - + i = precision-1; while ( i >= 0 ) { frac*=10.0L; diff --git a/reactos/lib/msvcrt/stdio/vfscanf.c b/reactos/lib/msvcrt/stdio/vfscanf.c index a802416483d..909901b4785 100644 --- a/reactos/lib/msvcrt/stdio/vfscanf.c +++ b/reactos/lib/msvcrt/stdio/vfscanf.c @@ -16,11 +16,10 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - +#include #include #include #include -#include #include #include #include diff --git a/reactos/lib/msvcrt/stdio/vfwprint.c b/reactos/lib/msvcrt/stdio/vfwprint.c index b77fb19973e..96c88595662 100644 --- a/reactos/lib/msvcrt/stdio/vfwprint.c +++ b/reactos/lib/msvcrt/stdio/vfwprint.c @@ -1,6 +1,6 @@ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ +#include #include -#include #include #include diff --git a/reactos/lib/msvcrt/stdlib/wtoi.c b/reactos/lib/msvcrt/stdlib/wtoi.c index 7951245ad1c..38f03db634a 100644 --- a/reactos/lib/msvcrt/stdlib/wtoi.c +++ b/reactos/lib/msvcrt/stdlib/wtoi.c @@ -8,4 +8,4 @@ int _wtoi( const wchar_t *str ) long _wtol( const wchar_t *str ) { return (int)wcstol(str, 0, 10); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/string/memccpy.c b/reactos/lib/msvcrt/string/memccpy.c index 9d641b17257..42fd26b0795 100644 --- a/reactos/lib/msvcrt/string/memccpy.c +++ b/reactos/lib/msvcrt/string/memccpy.c @@ -6,4 +6,4 @@ _memccpy (void *to, const void *from,int c,size_t count) { memcpy(to,from,count); return memchr(to,c,count); -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/string/strset.c b/reactos/lib/msvcrt/string/strset.c index 266cfb3c917..8c517395f68 100644 --- a/reactos/lib/msvcrt/string/strset.c +++ b/reactos/lib/msvcrt/string/strset.c @@ -25,4 +25,4 @@ char* _strset (char* szToFill, int szFill) } return t; -} \ No newline at end of file +} diff --git a/reactos/lib/msvcrt/time/strftime.c b/reactos/lib/msvcrt/time/strftime.c index c45f4c4fe68..96831ed6e63 100644 --- a/reactos/lib/msvcrt/time/strftime.c +++ b/reactos/lib/msvcrt/time/strftime.c @@ -261,4 +261,4 @@ wcsftime(wchar_t *s, size_t maxsize, const wchar_t *format, const struct tm *t) free(f); free(x); return 0; -} \ No newline at end of file +} diff --git a/reactos/lib/ntdll/makefile b/reactos/lib/ntdll/makefile index ddde6d67783..cfdcfd77b33 100644 --- a/reactos/lib/ntdll/makefile +++ b/reactos/lib/ntdll/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.65 2001/08/21 20:13:06 chorns Exp $ +# $Id: makefile,v 1.66 2001/09/23 22:14:09 chorns Exp $ PATH_TO_TOP = ../.. @@ -9,7 +9,8 @@ TARGET_NAME = ntdll TARGET_CFLAGS = -D__NTDLL__ TARGET_LFLAGS = -Wl,--file-alignment,0x1000 \ - -Wl,--section-alignment,0x1000 + -Wl,--section-alignment,0x1000 \ + -nostartfiles TARGET_GCCLIBS = gcc diff --git a/reactos/lib/ntdll/string/memccpy.c b/reactos/lib/ntdll/string/memccpy.c index fae61949143..9fe30583e2f 100644 --- a/reactos/lib/ntdll/string/memccpy.c +++ b/reactos/lib/ntdll/string/memccpy.c @@ -6,4 +6,4 @@ _memccpy (void *to, const void *from,int c,size_t count) { memcpy(to,from,count); return memchr(to,c,count); -} \ No newline at end of file +} diff --git a/reactos/lib/ntdll/string/memset.c b/reactos/lib/ntdll/string/memset.c index b59621a1975..b26ba9256ea 100644 --- a/reactos/lib/ntdll/string/memset.c +++ b/reactos/lib/ntdll/string/memset.c @@ -10,4 +10,4 @@ void * memset(void *src,int val,size_t count) count--; } return src; -} \ No newline at end of file +} diff --git a/reactos/ntoskrnl/dbg/dbgctrl.c b/reactos/ntoskrnl/dbg/dbgctrl.c index 237ca0271ec..e2adfc7f1cc 100644 --- a/reactos/ntoskrnl/dbg/dbgctrl.c +++ b/reactos/ntoskrnl/dbg/dbgctrl.c @@ -54,6 +54,7 @@ NtSystemDebugControl(DEBUG_CONTROL_CODE ControlCode, #ifdef KDBG LdrLoadUserModuleSymbols((PLDR_MODULE)InputBuffer); #endif /* KDBG */ + break; } return STATUS_SUCCESS; } diff --git a/reactos/subsys/win32k/eng/clip.h b/reactos/subsys/win32k/eng/clip.h index 1b143011751..2a370b2be2d 100644 --- a/reactos/subsys/win32k/eng/clip.h +++ b/reactos/subsys/win32k/eng/clip.h @@ -1 +1 @@ -typedef ULONG HCLIP; \ No newline at end of file +typedef ULONG HCLIP; diff --git a/reactos/tools/Makefile b/reactos/tools/Makefile index f026f90b7fe..d3f9a24d782 100644 --- a/reactos/tools/Makefile +++ b/reactos/tools/Makefile @@ -29,7 +29,8 @@ rcopy$(EXE_POSTFIX): rcopy.c endif rdel$(EXE_POSTFIX): rdel.c - $(HOST_CC) $(CFLAGS) -liberty rdel.c -o rdel$(EXE_POSTFIX) + $(HOST_CC) $(CFLAGS) rdel.c -o rdel$(EXE_POSTFIX) +# $(HOST_CC) $(CFLAGS) -liberty rdel.c -o rdel$(EXE_POSTFIX) ifeq ($(HOST),mingw32-linux) rmkdir$(EXE_POSTFIX): rmkdir.c