Changeset 689
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/fifo.c
r682 r689 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; -
trunk/lib/fifo.h
r577 r689 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.
