From 5d2036782e755f17e5df4a9fa524bf009c431a5f Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Sat, 19 Jun 2004 08:52:40 +0000 Subject: [PATCH] - Fixed compilation problems with MinGW runtime 3.3. svn path=/trunk/; revision=9724 --- reactos/lib/crtdll/libc/.cvsignore | 3 -- reactos/lib/crtdll/libc/atexit.h | 33 --------------- reactos/lib/crtdll/libc/file.h | 64 ----------------------------- reactos/lib/crtdll/stdlib/wcstomb.c | 2 - 4 files changed, 102 deletions(-) delete mode 100644 reactos/lib/crtdll/libc/.cvsignore delete mode 100644 reactos/lib/crtdll/libc/atexit.h delete mode 100644 reactos/lib/crtdll/libc/file.h diff --git a/reactos/lib/crtdll/libc/.cvsignore b/reactos/lib/crtdll/libc/.cvsignore deleted file mode 100644 index bd0e3dfd3ef..00000000000 --- a/reactos/lib/crtdll/libc/.cvsignore +++ /dev/null @@ -1,3 +0,0 @@ -*.d -*.o -*.sym diff --git a/reactos/lib/crtdll/libc/atexit.h b/reactos/lib/crtdll/libc/atexit.h deleted file mode 100644 index b3a9f0103ad..00000000000 --- a/reactos/lib/crtdll/libc/atexit.h +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ -#ifndef __dj_include_libc_atexit_h__ -#define __dj_include_libc_dosexec_h__ - -#ifdef __cplusplus -extern "C" { -#endif - -#ifndef __dj_ENFORCE_ANSI_FREESTANDING - -#ifndef __STRICT_ANSI__ - -#ifndef _POSIX_SOURCE - -struct __atexit { - struct __atexit *__next; - void (*__function)(void); -}; - -extern struct __atexit *__atexit_ptr; - -#endif /* !_POSIX_SOURCE */ -#endif /* !__STRICT_ANSI__ */ -#endif /* !__dj_ENFORCE_ANSI_FREESTANDING */ - -#ifndef __dj_ENFORCE_FUNCTION_CALLS -#endif /* !__dj_ENFORCE_FUNCTION_CALLS */ - -#ifdef __cplusplus -} -#endif - -#endif /* __dj_include_libc_dosexec_h__ */ diff --git a/reactos/lib/crtdll/libc/file.h b/reactos/lib/crtdll/libc/file.h deleted file mode 100644 index c80ffb53f03..00000000000 --- a/reactos/lib/crtdll/libc/file.h +++ /dev/null @@ -1,64 +0,0 @@ -/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ -#ifndef __dj_include_libc_file_h__ -#define __dj_include_libc_file_h__ - -#include -#include - - -//#include - -#ifdef __cplusplus -extern "C" { -#endif - -#ifndef __dj_ENFORCE_ANSI_FREESTANDING - -#ifndef __STRICT_ANSI__ - -#ifndef _POSIX_SOURCE - -#ifndef _IORMONCL -#define _IORMONCL 004000 /* remove on close, for temp files */ -#endif -/* if _flag & _IORMONCL, ._name_to_remove needs freeing */ - -#ifndef _IOUNGETC -#define _IOUNGETC 010000 /* there is an ungetc'ed character in the buffer */ -#endif - -int _flsbuf(int, FILE*); -int _filbuf(FILE *); -void _fwalk(void (*)(FILE *)); - - - -char __is_text_file(FILE *p); - -int _doprnt(const char *fmt, va_list args, FILE *f); -int _doscan(FILE *iop, const char *fmt, void **argp); - -void *filehnd(int fileno); -int __fileno_dup2( int handle1, int handle2 ); -int __fileno_setmode(int _fd, int _newmode); -int __fileno_close(int _fd); - -#undef fileno -#define fileno(f) (f->_file) -#undef feof -#define feof(f) (((f)->_flag&_IOEOF)!=0) -#undef ferror -#define ferror(f) (((f)->_flag&_IOERR)!=0) - -#endif /* !_POSIX_SOURCE */ -#endif /* !__STRICT_ANSI__ */ -#endif /* !__dj_ENFORCE_ANSI_FREESTANDING */ - -#ifndef __dj_ENFORCE_FUNCTION_CALLS -#endif /* !__dj_ENFORCE_FUNCTION_CALLS */ - -#ifdef __cplusplus -} -#endif - -#endif /* __dj_include_libc_file_h__ */ diff --git a/reactos/lib/crtdll/stdlib/wcstomb.c b/reactos/lib/crtdll/stdlib/wcstomb.c index 41eab0a08d4..f0020082ea2 100644 --- a/reactos/lib/crtdll/stdlib/wcstomb.c +++ b/reactos/lib/crtdll/stdlib/wcstomb.c @@ -22,8 +22,6 @@ #include #include -#include "libc/file.h" - #ifndef EILSEQ #define EILSEQ EINVAL #endif