Changeset 8447


Ignore:
Timestamp:
03/01/13 13:33:02 (9 years ago)
Author:
gf
Message:

gc: Add static declarations where needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/oscam-garbage.c

    r8336 r8447  
    1717};
    1818
    19 struct cs_garbage *garbage_first[HASH_BUCKETS];
    20 struct cs_garbage *garbage_last[HASH_BUCKETS];
    21 CS_MUTEX_LOCK garbage_lock[HASH_BUCKETS];
    22 pthread_t garbage_thread;
    23 int32_t garbage_collector_active = 0;
    24 int32_t garbage_debug = 0;
     19static struct cs_garbage *garbage_first[HASH_BUCKETS];
     20static struct cs_garbage *garbage_last[HASH_BUCKETS];
     21static CS_MUTEX_LOCK garbage_lock[HASH_BUCKETS];
     22static pthread_t garbage_thread;
     23static int32_t garbage_collector_active;
     24static int32_t garbage_debug;
    2525
    2626#ifdef WITH_DEBUG
     
    7676}
    7777
    78 void garbage_collector(void) {
     78static void garbage_collector(void) {
    7979        int8_t i;
    8080        struct cs_garbage *garbage, *next, *prev, *first;
Note: See TracChangeset for help on using the changeset viewer.