diff options
Diffstat (limited to 'src/vppinfra/fifo.h')
-rw-r--r-- | src/vppinfra/fifo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/fifo.h b/src/vppinfra/fifo.h index 496f5dd17c5..f1ba7aa2ee7 100644 --- a/src/vppinfra/fifo.h +++ b/src/vppinfra/fifo.h @@ -254,7 +254,7 @@ clib_fifo_tail_index (void *v) #define clib_fifo_head(v) ((v) + clib_fifo_head_index (v)) #define clib_fifo_tail(v) ((v) + clib_fifo_tail_index (v)) -#define clib_fifo_free(f) vec_free_h((f),sizeof(clib_fifo_header_t)) +#define clib_fifo_free(f) vec_free ((f)) always_inline uword clib_fifo_elt_index (void *v, uword i) |