diff options
Diffstat (limited to 'io')
-rw-r--r-- | io/ftw.c | 6 | ||||
-rw-r--r-- | io/ftw.h | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* Copyright (C) 1992, 1995, 1996 Free Software Foundation, Inc. +/* Copyright (C) 1992, 1995, 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ian Lance Taylor (ian@airs.com). @@ -36,7 +36,7 @@ static int ftw_dir (DIR **dirs, int level, int descriptors, char *dir, size_t len, - int (*func) (const char *file, struct stat *status, int flag)) + int (*func) (const char *file, const struct stat *status, int flag)) { int got; struct dirent *entry; @@ -151,7 +151,7 @@ ftw_dir (DIR **dirs, int level, int descriptors, char *dir, size_t len, int ftw (const char *dir, - int (*func) (const char *file, struct stat *status, int flag), + int (*func) (const char *file, const struct stat *status, int flag), int descriptors) { DIR **dirs; @@ -1,4 +1,4 @@ -/* Copyright (C) 1992, 1996 Free Software Foundation, Inc. +/* Copyright (C) 1992, 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ian Lance Taylor (ian@airs.com). @@ -37,7 +37,7 @@ /* Call a function on every element in a directory tree. */ extern int ftw __P ((__const char *__dir, int (*__func) (__const char *__file, - struct stat *__status, + __const struct stat *__status, int __flag), int __descriptors)); |