When I compile source code. There are this below error. Do you know how to solve this problem? Thank you.
Code
static inline int modnn(struct rs *rs,int x){
while (x >= rs->nn) {
x -= rs->nn;
x = (x >> rs->mm) + (x & rs->nn);
}
return x;
}
Compiling...
rs.c
e:\char.h(22) : error C2054: expected '(' to follow 'inline'
e:\char.h(22) : error C2085: 'modnn' : not in formal parameter list
e:\char.h(22) : error C2143: syntax error : missing ';' before '{'
Error executing cl.exe.
rs.exe - 3 error(s), 13 warning(s)