mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
changed some header file from djgpp to mingw32
svn path=/trunk/; revision=261
This commit is contained in:
parent
38c0489092
commit
87028edf14
9 changed files with 10 additions and 23 deletions
|
@ -7,9 +7,6 @@
|
||||||
|
|
||||||
#include <libc/file.h>
|
#include <libc/file.h>
|
||||||
|
|
||||||
#ifndef __dj_include_stdio_h_
|
|
||||||
#define _name_to_remove _tmpfname
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int
|
int
|
||||||
fclose(FILE *f)
|
fclose(FILE *f)
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
/* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
|
/* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
|
||||||
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
|
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
|
||||||
//#include <libc/stubs.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
//#include <unistd.h>
|
|
||||||
//#include <go32.h>
|
|
||||||
#include <libc/file.h>
|
#include <libc/file.h>
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
|
|
||||||
|
|
|
@ -1,17 +1,14 @@
|
||||||
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
|
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
|
||||||
//#include <libc/stubs.h>
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
//#include <unistd.h>
|
|
||||||
#include <libc/file.h>
|
#include <libc/file.h>
|
||||||
//#include <libc/local.h>
|
|
||||||
//#include <libc/dosio.h>
|
|
||||||
|
|
||||||
FILE * __alloc_file(void);
|
FILE * __alloc_file(void);
|
||||||
|
|
||||||
extern int _fmode;
|
|
||||||
|
|
||||||
FILE *
|
FILE *
|
||||||
fopen(const char *file, const char *mode)
|
fopen(const char *file, const char *mode)
|
||||||
|
|
|
@ -1,13 +1,11 @@
|
||||||
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
|
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
|
||||||
//#include <libc/stubs.h>
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
//#include <unistd.h>
|
|
||||||
#include <libc/file.h>
|
#include <libc/file.h>
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
|
|
||||||
extern int _fmode;
|
|
||||||
|
|
||||||
FILE *
|
FILE *
|
||||||
freopen(const char *file, const char *mode, FILE *f)
|
freopen(const char *file, const char *mode, FILE *f)
|
||||||
|
|
|
@ -9,7 +9,7 @@ fscanf(FILE *f, const char *fmt, ...)
|
||||||
int r;
|
int r;
|
||||||
va_list a=0;
|
va_list a=0;
|
||||||
va_start(a, fmt);
|
va_start(a, fmt);
|
||||||
r = _doscan(f, fmt, a);
|
r = _doscan(f, fmt,(void *) a);
|
||||||
va_end(a);
|
va_end(a);
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
fsetpos(FILE *stream, const fpos_t *pos)
|
fsetpos(FILE *stream, fpos_t *pos)
|
||||||
{
|
{
|
||||||
if (stream && pos)
|
if (stream && pos)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <io.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <libc/file.h>
|
#include <libc/file.h>
|
||||||
|
|
||||||
#undef getc
|
|
||||||
int getc(FILE *f)
|
int getc(FILE *f)
|
||||||
{
|
{
|
||||||
int c;
|
int c;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
|
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <libc/file.h>
|
#include <libc/file.h>
|
||||||
//#include <libc/stdiohk.h>
|
|
||||||
|
|
||||||
|
|
||||||
FILE _iob[] =
|
FILE _iob[] =
|
||||||
|
|
|
@ -2,20 +2,16 @@
|
||||||
/* Copyright (C) 1997 DJ Delorie, see COPYING.DJ for details */
|
/* Copyright (C) 1997 DJ Delorie, see COPYING.DJ for details */
|
||||||
/* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */
|
/* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */
|
||||||
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
|
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
|
||||||
//#include <libc/stubs.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
//#include <unistd.h>
|
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#include <libc/file.h>
|
#include <libc/file.h>
|
||||||
#include <share.h>
|
#include <share.h>
|
||||||
|
|
||||||
#ifndef __dj_include_stdio_h_
|
|
||||||
#define _name_to_remove _tmpfname
|
|
||||||
#endif
|
|
||||||
|
|
||||||
FILE * __alloc_file(void);
|
FILE * __alloc_file(void);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue