Ignore:
Timestamp:
01/11/19 14:06:36 (22 months ago)
Author:
Shane Alcock <salcock@…>
Branches:
develop
Children:
d83006c
Parents:
4854e88
Message:

Disable unused pcapng parsing functions.

This is mainly to suppress warnings when building with clang. I
assume we may want to use these functions again at some point,
but for now we may as well disable them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_pcapng.c

    r4854e88 r9a792a9  
    285285
    286286}
     287
     288#if 0
    287289static inline uint16_t pcapng_get_customdata_len(libtrace_packet_t *packet, char *ptr) {
    288290        struct pcapng_custom_optheader *hdr = (struct pcapng_custom_optheader *)ptr;
     
    303305        }
    304306}
     307#endif
     308
    305309static inline uint16_t pcapng_get_nrb_record_type(libtrace_packet_t *packet, char *ptr) {
    306310        struct pcapng_nrb_record *hdr = (struct pcapng_nrb_record *)ptr;
Note: See TracChangeset for help on using the changeset viewer.