Ignore:
Timestamp:
Feb 25, 2011, 9:26:54 PM (13 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi-busybox/libbb/inode_hash.c

    r1765 r2725  
    66 * If you wrote this, please acknowledge your work.
    77 *
    8  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
     8 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
    99 */
    1010
     
    1818} ino_dev_hashtable_bucket_t;
    1919
    20 #define HASH_SIZE   311     /* Should be prime */
    21 #define hash_inode(i)   ((i) % HASH_SIZE)
     20#define HASH_SIZE      311   /* Should be prime */
     21#define hash_inode(i)  ((i) % HASH_SIZE)
    2222
    2323/* array of [HASH_SIZE] elements */
     
    2828 * ino_dev_hashtable, else return NULL
    2929 */
    30 char *is_in_ino_dev_hashtable(const struct stat *statbuf)
     30char* FAST_FUNC is_in_ino_dev_hashtable(const struct stat *statbuf)
    3131{
    3232    ino_dev_hashtable_bucket_t *bucket;
     
    4848
    4949/* Add statbuf to statbuf hash table */
    50 void add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name)
     50void FAST_FUNC add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name)
    5151{
    5252    int i;
     
    6868}
    6969
    70 #if ENABLE_FEATURE_CLEAN_UP
     70#if ENABLE_DU || ENABLE_FEATURE_CLEAN_UP
    7171/* Clear statbuf hash table */
    72 void reset_ino_dev_hashtable(void)
     72void FAST_FUNC reset_ino_dev_hashtable(void)
    7373{
    7474    int i;
     
    8585    ino_dev_hashtable = NULL;
    8686}
    87 #else
    88 void reset_ino_dev_hashtable(void);
    8987#endif
Note: See TracChangeset for help on using the changeset viewer.