mirror of
https://github.com/p2r3/bareiron.git
synced 2025-10-01 23:25:09 +02:00
add missing static statement to inline tools
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
|
||||
#include "globals.h"
|
||||
|
||||
inline int mod_abs (int a, int b) {
|
||||
static inline int mod_abs (int a, int b) {
|
||||
return ((a % b) + b) % b;
|
||||
}
|
||||
inline int div_floor (int a, int b) {
|
||||
static inline int div_floor (int a, int b) {
|
||||
return a % b < 0 ? (a - b) / b : a / b;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user