From 390500b147a8063ea4be7313ec38cada26f9235a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 28 Apr 1999 21:56:46 +0000 Subject: Update. 1999-04-28 Ulrich Drepper * manager.c (pthread_allocate_stack): Optimize initialization of new thread descriptor. --- io/ftw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'io') diff --git a/io/ftw.c b/io/ftw.c index 2d4a837..f1e2fd9 100644 --- a/io/ftw.c +++ b/io/ftw.c @@ -78,7 +78,7 @@ struct ftw_data /* Conversion array for flag values. It is the identity mapping for `nftw' calls, otherwise it maps the values to those know by `ftw'. */ - int *cvt_arr; + const int *cvt_arr; /* Callback function. We always use the `nftw' form. */ NFTW_FUNC_T func; @@ -95,12 +95,12 @@ struct ftw_data /* Internally we use the FTW_* constants used for `nftw'. When the process called `ftw' we must reduce the flag to the known flags for `ftw'. */ -static int nftw_arr[] = +static const int nftw_arr[] = { FTW_F, FTW_D, FTW_DNR, FTW_NS, FTW_SL, FTW_DP, FTW_SLN }; -static int ftw_arr[] = +static const int ftw_arr[] = { FTW_F, FTW_D, FTW_DNR, FTW_NS, FTW_F, FTW_D, FTW_NS }; -- cgit v1.1