From c524f660a79c33213f873b8246e0f65eb058331f Mon Sep 17 00:00:00 2001 From: Kirill Petrashin Date: Mon, 16 Mar 2026 18:58:34 +0300 Subject: Change comments to use /* asdf */ syntax --- main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 5348807..46ab67a 100644 --- a/main.c +++ b/main.c @@ -13,7 +13,7 @@ - Render goal and start in bold */ void sigint_handler(int sig) { - (void)sig; // We know it's a SIGINT + (void)sig; /* We know it's a SIGINT */ endwin(); printf("Received SIGINT\n"); exit(1); @@ -32,10 +32,10 @@ void initialize_colors(void) { int main(void) { signal(SIGINT, sigint_handler); - initscr(); // Initialize the ncurses screen - cbreak(); // Process input one char at a time - curs_set(0); // Hide the cursor - noecho(); // Don't echo characters + initscr(); /* Initialize the ncurses screen */ + cbreak(); /* Process input one char at a time */ + curs_set(0); /* Hide the cursor */ + noecho(); /* Don't echo characters */ initialize_colors(); Map map = rbt_maze_map(20, 10, (unsigned int) time(NULL)); -- cgit v1.2.3