Skip to content

Commit

Permalink
Constify function parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
cgzones committed Jan 5, 2024
1 parent 85ff55b commit 49f387e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logrotate.c
Original file line number Diff line number Diff line change
Expand Up @@ -2268,8 +2268,8 @@ static int rotateSingleLog(const struct logInfo *log, unsigned logNum,
}

static int postrotateSingleLog(const struct logInfo *log, unsigned logNum,
struct logState *state,
struct logNames *rotNames)
const struct logState *state,
const struct logNames *rotNames)
{
int hasErrors = 0;

Expand Down

0 comments on commit 49f387e

Please sign in to comment.