From d9dd65808b1adf2dd4c3e59b6a05a0076b9a7120 Mon Sep 17 00:00:00 2001 From: "iliya.saroukha" <iliya.saroukha@hes-so.ch> Date: Mon, 21 Aug 2023 16:03:14 +0200 Subject: [PATCH] formatter doing some wizardry --- vec_test.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vec_test.c b/vec_test.c index aeaeb94..56e5961 100644 --- a/vec_test.c +++ b/vec_test.c @@ -1,9 +1,9 @@ -#include <vec.h> #include <libgen.h> #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> +#include <vec.h> #define NB_OPTIONS 6 void print_menu(void) { @@ -89,9 +89,9 @@ int main(int argc, char **argv) { "Specify the number you wish to push into the vector: "); scanf("%ld", &to_push); - - fprintf(stdout, - "Specify the index at which you wish to insert the number: "); + fprintf( + stdout, + "Specify the index at which you wish to insert the number: "); scanf("%zu", &idx_to_insert); vec_insert_at(new_vec, to_push, idx_to_insert); -- GitLab