diff options
Diffstat (limited to 'lab03/vec.h')
| -rw-r--r-- | lab03/vec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lab03/vec.h b/lab03/vec.h index b751b80..d62df76 100644 --- a/lab03/vec.h +++ b/lab03/vec.h @@ -24,12 +24,12 @@ * `data` points to storage for at most `capacity` elements. The first * `size` positions contain valid elements. */ -struct vec { +typedef struct vec { void *data; size_t size; size_t capacity; size_t elem_size; -}; +} vec; /** * @brief Compares two elements. |
