From 32421984c0ca8feff5dc463d4bb51278c4254d82 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 5 Jan 2024 14:06:00 +0100 Subject: [PATCH] Fix prototype warnings --- src/schreier-sims.c | 2 +- src/schreier-sims.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/schreier-sims.c b/src/schreier-sims.c index 6961a83c5..776c1920e 100644 --- a/src/schreier-sims.c +++ b/src/schreier-sims.c @@ -25,7 +25,7 @@ uint16_t PERM_DEGREE = 0; // Schreier-Sims set up -SchreierSims* new_schreier_sims() { +SchreierSims* new_schreier_sims(void) { SchreierSims* ss = malloc(sizeof(SchreierSims)); ss->tmp_perm = new_perm(MAXVERTS); for (uint16_t i = 0; i < MAXVERTS; ++i) { diff --git a/src/schreier-sims.h b/src/schreier-sims.h index 6385746c6..55e563475 100644 --- a/src/schreier-sims.h +++ b/src/schreier-sims.h @@ -39,7 +39,7 @@ struct schreier_sims_struct { typedef struct schreier_sims_struct SchreierSims; -SchreierSims* new_schreier_sims(); +SchreierSims* new_schreier_sims(void); // Store the stabiliser of pt in the group generated by src, in dst, use ss to // hold the stabiliser chain.