Ignore:
Timestamp:
04/10/14 12:42:01 (7 years ago)
Author:
Richard Sanger <rsangerarj@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
19135af
Parents:
df668eb
Message:

Remove inline functions that cause compile warnings when building external applications.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace_parallel.c

    r29bbef0 rabda273  
    120120}
    121121
    122 DLLEXPORT inline void print_contention_stats(libtrace_t *libtrace) {
     122DLLEXPORT void print_contention_stats(libtrace_t *libtrace) {
    123123        int i;
    124124        struct multithreading_stats totals = {0};
     
    14101410}
    14111411
    1412 DLLEXPORT inline void libtrace_result_set_key(libtrace_result_t * result, uint64_t key) {
     1412DLLEXPORT void libtrace_result_set_key(libtrace_result_t * result, uint64_t key) {
    14131413        result->key = key;
    14141414}
    1415 DLLEXPORT inline uint64_t libtrace_result_get_key(libtrace_result_t * result) {
     1415DLLEXPORT uint64_t libtrace_result_get_key(libtrace_result_t * result) {
    14161416        return result->key;
    14171417}
    1418 DLLEXPORT inline void libtrace_result_set_value(libtrace_result_t * result, void * value) {
     1418DLLEXPORT void libtrace_result_set_value(libtrace_result_t * result, void * value) {
    14191419        result->value = value;
    14201420}
    1421 DLLEXPORT inline void* libtrace_result_get_value(libtrace_result_t * result) {
     1421DLLEXPORT void* libtrace_result_get_value(libtrace_result_t * result) {
    14221422        return result->value;
    14231423}
    1424 DLLEXPORT inline void libtrace_result_set_key_value(libtrace_result_t * result, uint64_t key, void * value) {
     1424DLLEXPORT void libtrace_result_set_key_value(libtrace_result_t * result, uint64_t key, void * value) {
    14251425        result->key = key;
    14261426        result->value = value;
Note: See TracChangeset for help on using the changeset viewer.