git://git.jankratochvil.net
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update for HEAD-2003021201
[reactos.git]
/
lib
/
crtdll
/
stdio
/
fwalk.c
diff --git
a/lib/crtdll/stdio/fwalk.c
b/lib/crtdll/stdio/fwalk.c
index
11be7eb
..
ef747c1
100644
(file)
--- a/
lib/crtdll/stdio/fwalk.c
+++ b/
lib/crtdll/stdio/fwalk.c
@@
-1,18
+1,18
@@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <
crtdll
/stdio.h>
-#include <
crtdll
/internal/file.h>
+#include <
msvcrt
/stdio.h>
+#include <
msvcrt
/internal/file.h>
-// not exported by crtdll
-__file_rec *__file_rec_list;
-void
-_fwalk(void (*func)(FILE *))
+// not exported by msvcrt or crtdll
+__file_rec* __file_rec_list;
+
+void _fwalk(void (*func)(FILE*))
{
{
-
__file_rec *
fr;
- int i;
-
- for (fr=__file_rec_list; fr; fr=fr->next)
- for (i=0; i<fr->count; i++)
- if (fr->files[i]->_flag)
- func(fr->files[i]);
+
__file_rec*
fr;
+
int i;
+
+
for (fr=__file_rec_list; fr; fr=fr->next)
+
for (i=0; i<fr->count; i++)
+
if (fr->files[i]->_flag)
+
func(fr->files[i]);
}
}