]> www.ginac.de Git - ginac.git/blobdiff - ginac/inifcns_gamma.cpp
- most functions were not static, but they should have been
[ginac.git] / ginac / inifcns_gamma.cpp
index 5683fd21328d91133d8f311cd6f8e804d77495fe..fd3c32efef5359475862b5f413c6b543ac97d572 100644 (file)
@@ -41,7 +41,7 @@ namespace GiNaC {
  *  evaluation some day...
  *
  *  @exception fail_numeric("complex_infinity") or something similar... */
-ex gamma_eval(ex const & x)
+static ex gamma_eval(ex const & x)
 {
     if ( x.info(info_flags::numeric) ) {
 
@@ -76,7 +76,7 @@ ex gamma_eval(ex const & x)
     return gamma(x).hold();
 }    
     
-ex gamma_evalf(ex const & x)
+static ex gamma_evalf(ex const & x)
 {
     BEGIN_TYPECHECK
         TYPECHECK(x,numeric)
@@ -85,14 +85,14 @@ ex gamma_evalf(ex const & x)
     return gamma(ex_to_numeric(x));
 }
 
-ex gamma_diff(ex const & x, unsigned diff_param)
+static ex gamma_diff(ex const & x, unsigned diff_param)
 {
     ASSERT(diff_param==0);
 
     return power(x, -1);       // FIXME
 }
 
-ex gamma_series(ex const & x, symbol const & s, ex const & point, int order)
+static ex gamma_series(ex const & x, symbol const & s, ex const & point, int order)
 {
        // FIXME: Only handle one special case for now...
        if (x.is_equal(s) && point.is_zero()) {