Skip to content

Commit

Permalink
Update dice.yacc
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Hunter <[email protected]>
  • Loading branch information
ianfhunter authored Nov 25, 2023
1 parent 2765bdb commit 6043e43
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/grammar/dice.yacc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

int yylex(void);
int yyerror(const char* s);
int yywrap();
int yywrap(void);

//TODO: move to external file

Expand All @@ -50,10 +50,10 @@ extern struct macro_struct *macros;
pcg32_random_t rng;

// Function Signatures for this file
int initialize();
int initialize(void);

// Functions
int initialize(){
int initialize(void){
if (!seeded){
unsigned long int tick = (unsigned long)time(0)+(unsigned long)clock();
pcg32_srandom_r(
Expand Down Expand Up @@ -1809,7 +1809,7 @@ const char *s;

}

int yywrap(){
int yywrap(void){
return (1);
}

0 comments on commit 6043e43

Please sign in to comment.