We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9476568 + 6617027 commit c9517c8Copy full SHA for c9517c8
tinyexpr.c
@@ -117,8 +117,8 @@ void te_free(te_expr *n) {
117
}
118
119
120
-static double pi() {return 3.14159265358979323846;}
121
-static double e() {return 2.71828182845904523536;}
+static double pi(void) {return 3.14159265358979323846;}
+static double e(void) {return 2.71828182845904523536;}
122
static double fac(double a) {/* simplest version of fac */
123
if (a < 0.0)
124
return NAN;
0 commit comments