From 9e9c1b21569faeabd33716e4153a881e2eed7134 Mon Sep 17 00:00:00 2001 From: Filip Wandzio Date: Sun, 1 Mar 2026 17:45:00 +0100 Subject: Separate quiz logic from main function fo dedicated module Signed-off-by: Filip Wandzio --- include/questions.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include/questions.h') diff --git a/include/questions.h b/include/questions.h index 75bc751..95ce286 100644 --- a/include/questions.h +++ b/include/questions.h @@ -2,19 +2,19 @@ #include typedef struct { - char **general; - char **major; - size_t general_count; - size_t major_count; + char** general; + char** major; + size_t general_count; + size_t major_count; } QuestionSet; /** * Load questions from file. * Returns EXIT_SUCCESS or EXIT_FAILURE. */ -int load_questions(const char *filename, QuestionSet *qs); +int load_questions(const char* filename, QuestionSet* qs); /** * Free all allocated memory in QuestionSet. */ -void free_questions(QuestionSet *qs); +void free_questions(QuestionSet* qs); -- cgit v1.2.3