diff --git a/cdr.c b/cdr.c index 3919574..7875e47 100644 --- a/cdr.c +++ b/cdr.c @@ -9,6 +9,9 @@ static int cdr_create_cdrs(GQueue *records, cdr_entry_t **cdrs, uint64_t *cdr_count, uint64_t *alloc_size, uint8_t *trash, int do_intermediate); +static int cdr_fill_record(cdr_entry_t *cdr); +static void cdr_set_provider(cdr_entry_t *cdr); + static const char* cdr_map_status(const char *sip_status) { @@ -1537,7 +1540,7 @@ static int cdr_create_cdrs(GQueue *records, return 0; } -int cdr_fill_record(cdr_entry_t *cdr) +static int cdr_fill_record(cdr_entry_t *cdr) { cdr_set_provider(cdr); @@ -1551,7 +1554,7 @@ int cdr_fill_record(cdr_entry_t *cdr) return 0; } -void cdr_set_provider(cdr_entry_t *cdr) +static void cdr_set_provider(cdr_entry_t *cdr) { char *val; diff --git a/cdr.h b/cdr.h index 1ce0f96..e00a360 100644 --- a/cdr.h +++ b/cdr.h @@ -61,8 +61,6 @@ typedef struct { int cdr_process_records(GQueue *records, uint64_t *cdr_count, struct medmysql_batches *, int do_intermediate); -int cdr_fill_record(cdr_entry_t *cdr); -void cdr_set_provider(cdr_entry_t *cdr); #endif /* _CDR_H */