added missing util.h/c stuff

This commit is contained in:
minus 2015-08-25 19:53:59 +02:00
parent e854a54e96
commit e533014201
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,5 @@
#include "util.h"
int wrap(int i, int max) {
return ((i % max) + max) % max;
}