Skip to content

Commit

Permalink
fix last left-over K&R function declaration (#121)
Browse files Browse the repository at this point in the history
> a function definition without a prototype is deprecated in all
> versions of C and is not supported in C2x

Fix the last straggler.
  • Loading branch information
igalic authored Sep 23, 2023
1 parent 517d821 commit b68d83d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions common/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,7 @@ err: rval = 1;
* PUBLIC: void v_end(GS *);
*/
void
v_end(gp)
GS *gp;
v_end(GS *gp)
{
MSGS *mp;
SCR *sp;
Expand Down

0 comments on commit b68d83d

Please sign in to comment.