From e43583a9912deb9caaa415a5f0dfef19735a4f99 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Tue, 18 Mar 2025 19:51:03 +0200 Subject: remove duplicate vector foreach --- include/conts/vec.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/conts/vec.h b/include/conts/vec.h index 6e50854..8da77cf 100644 --- a/include/conts/vec.h +++ b/include/conts/vec.h @@ -22,14 +22,6 @@ struct VEC_STRUCT { VEC_TYPE *buf; }; -#ifndef CONTS_VEC_H -#define CONTS_VEC_H - -#define foreach_vec(iter, v) \ - for (size_t iter = 0; iter < (v)->n; ++iter) - -#endif /* CONTS_VEC_H */ - static inline struct VEC_STRUCT VEC(create)(size_t reserve) { return (struct VEC_STRUCT) { -- cgit v1.2.3