Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 169944af authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Remove unused methods to fix build.

Change-Id: I6e1f85a7cc3428d558460737da3b3193d035b73e
parent f38f29c8
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -184,14 +184,6 @@ static bool str_icase_equals(void *keyA, void *keyB) {
    return strcasecmp(keyA, keyB) == 0;
}

static int int_hash(void *key) {
    return (int) (uintptr_t) key;
}

static bool int_equals(void *keyA, void *keyB) {
    return keyA == keyB;
}

/* Global data for all FUSE mounts */
struct fuse_global {
    pthread_mutex_t lock;
@@ -1564,12 +1556,6 @@ static bool remove_str_to_int(void *key, void *value, void *context) {
    return true;
}

static bool remove_int_to_null(void *key, void *value, void *context) {
    Hashmap* map = context;
    hashmapRemove(map, key);
    return true;
}

static int read_package_list(struct fuse_global* global) {
    pthread_mutex_lock(&global->lock);