Skip to content

Commit

Permalink
Fix prototype warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin authored and james-d-mitchell committed Jan 5, 2024
1 parent 02601b2 commit acb30d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/schreier-sims.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/schreier-sims.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit acb30d1

Please sign in to comment.