made functions static to files

*BUG* in CPP lint github action
This commit is contained in:
Krishna Vedala
2020-05-25 23:32:31 -04:00
parent c93f3ef35e
commit b9bb6caa73
6 changed files with 40 additions and 47 deletions

View File

@@ -1,7 +1,7 @@
#include <cmath>
#include <iostream>
float eq(float i) {
static float eq(float i) {
return (pow(i, 3) - (4 * i) - 9); // original equation
}