diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-04-28 21:56:46 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-04-28 21:56:46 +0000 |
commit | 390500b147a8063ea4be7313ec38cada26f9235a (patch) | |
tree | edf14c04a0a46992ce4c04eeaf604fab99a9d960 /io | |
parent | fbb9cc9129ae3efdb1652b175f57956033102876 (diff) | |
download | glibc-390500b147a8063ea4be7313ec38cada26f9235a.zip glibc-390500b147a8063ea4be7313ec38cada26f9235a.tar.gz glibc-390500b147a8063ea4be7313ec38cada26f9235a.tar.bz2 |
Update.
1999-04-28 Ulrich Drepper <drepper@cygnus.com>
* manager.c (pthread_allocate_stack): Optimize initialization of new
thread descriptor.
Diffstat (limited to 'io')
-rw-r--r-- | io/ftw.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 }; |