Ignore:
Timestamp:
06/23/14 23:35:44 (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:
5876154
Parents:
ed81f74
Message:

Remove inlines for BSD support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/hash_toeplitz.c

    r8c42377 r5ba34eb  
    7070}
    7171
    72 inline void toeplitz_init_config(toeplitz_conf_t *conf, bool bidirectional)
     72void toeplitz_init_config(toeplitz_conf_t *conf, bool bidirectional)
    7373{
    7474        if (bidirectional) {
     
    8383 * n is bits
    8484 */
    85 inline uint32_t toeplitz_hash(const toeplitz_conf_t *tc, const uint8_t *data, size_t offset, size_t n, uint32_t result)
     85uint32_t toeplitz_hash(const toeplitz_conf_t *tc, const uint8_t *data, size_t offset, size_t n, uint32_t result)
    8686{
    8787        size_t byte;
     
    9797}
    9898
    99 inline uint32_t toeplitz_first_hash(const toeplitz_conf_t *tc, const uint8_t *data, size_t n)
     99uint32_t toeplitz_first_hash(const toeplitz_conf_t *tc, const uint8_t *data, size_t n)
    100100{
    101101        return toeplitz_hash(tc, data, 0, n, 0);
    102102}
    103103
    104 inline uint64_t toeplitz_hash_packet(const libtrace_packet_t * pkt, const toeplitz_conf_t *cnf) {
     104uint64_t toeplitz_hash_packet(const libtrace_packet_t * pkt, const toeplitz_conf_t *cnf) {
    105105        uint8_t proto;
    106106        uint16_t eth_type;
Note: See TracChangeset for help on using the changeset viewer.