Commit 86a31df2 authored by Li Wei's avatar Li Wei Committed by Willem Thiart
Browse files

DAOS-417 log: Make mod() static



Since mod() has a short name and is only in raft_log.c, it should be
static.
Signed-off-by: default avatarLi Wei <wei.g.li@intel.com>
parent fab7d434
......@@ -40,7 +40,7 @@ typedef struct
void* raft;
} log_private_t;
int mod(int a, int b)
static int mod(int a, int b)
{
int r = a % b;
return r < 0 ? r + b : r;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment