Ignore:
Timestamp:
2012-03-18T15:54:09Z (13 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cd581120
Parents:
96598b8
Message:

renamed some functions because of naming convention

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext4/libext4_directory_index.c

    r96598b8 rb191acae  
    4343#include "libext4.h"
    4444
     45typedef struct ext4_dx_sort_entry {
     46        uint32_t hash;
     47        uint32_t rec_len;
     48        void *dentry;
     49} ext4_dx_sort_entry_t;
     50
    4551
    4652uint8_t ext4_directory_dx_root_info_get_hash_version(
     
    412418}
    413419
    414 typedef struct ext4_dx_sort_entry {
    415         uint32_t hash;
    416         uint32_t rec_len;
    417         void *dentry;
    418 } ext4_dx_sort_entry_t;
    419 
    420 static int dx_entry_comparator(void *arg1, void *arg2, void *dummy)
     420static int ext4_directory_dx_entry_comparator(void *arg1, void *arg2, void *dummy)
    421421{
    422422        ext4_dx_sort_entry_t *entry1 = arg1;
     
    519519        }
    520520
    521         qsort(sort_array, idx, sizeof(ext4_dx_sort_entry_t), dx_entry_comparator, NULL);
     521        qsort(sort_array, idx, sizeof(ext4_dx_sort_entry_t), ext4_directory_dx_entry_comparator, NULL);
    522522
    523523        uint32_t new_fblock;
Note: See TracChangeset for help on using the changeset viewer.