summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/conts/vec.h8
1 files changed, 0 insertions, 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) {