Changeset 9ee7134
- Timestamp:
- 04/08/06 16:15:09 (15 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, 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:
- 23971d0
- Parents:
- af52072
- Location:
- lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/fifo.c
r5da3315 r9ee7134 35 35 #include <stdio.h> /* sprintf, printf */ 36 36 #include <assert.h> /* assert */ 37 #include <string.h> /* bzero */ 37 #include "libtrace_int.h" 38 39 #include <inttypes.h> 40 38 41 #include "fifo.h" 39 #include "libtrace_int.h"40 41 #include <sys/types.h>42 43 #ifdef HAVE_INTTYPES_H44 # include <inttypes.h>45 #else46 # error "Can't find inttypes.h, this needs to be fixed"47 #endif48 49 #ifdef HAVE_STDDEF_H50 # include <stddef.h>51 #else52 # error "Can't find stddef.h - do you define ptrdiff_t elsewhere"53 #endif54 55 #include <netinet/in.h>56 42 57 43 … … 114 100 } 115 101 116 void tracefifo_flush(struct tracefifo_t *fifo __attribute__((unused))) {102 void tracefifo_flush(struct tracefifo_t *fifo UNUSED) { 117 103 /* do nothing */ 118 104 return; -
lib/fifo.h
r7068467 r9ee7134 32 32 #ifndef _FIFO_H_ 33 33 #define _FIFO_H_ 34 #include <inttypes.h>35 34 36 35 struct tracefifo_t;
Note: See TracChangeset
for help on using the changeset viewer.