--- src/lib/libc/stdio/fwalk.c 2005/01/31 22:29:40 1.4 +++ src/lib/libc/stdio/fwalk.c 2005/07/23 20:23:06 1.5 @@ -42,7 +42,7 @@ #include #include #include "local.h" -#include "glue.h" +#include "priv_stdio.h" int _fwalk(int (*function)(FILE *)) @@ -59,7 +59,7 @@ _fwalk(int (*function)(FILE *)) */ for (g = &__sglue; g != NULL; g = g->next) for (fp = g->iobs, n = g->niobs; --n >= 0; fp++) - if (fp->_flags != 0) + if (fp->pub._flags != 0) ret |= (*function)(fp); return (ret); }