aboutsummaryrefslogtreecommitdiff
path: root/src/statistics.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2009-11-27 17:45:03 +0100
committerThomas White <taw@physics.org>2009-11-27 17:45:03 +0100
commit49bda909c11594b2676d8b1c8a0b01a9cdc97693 (patch)
tree5d16fbb3294ed66de2c3528f3f840cf9c583ea9e /src/statistics.c
parentb9773759c48024603903703eb891b2850e5f95a9 (diff)
statistics.c: Tidy up prototypes
Diffstat (limited to 'src/statistics.c')
-rw-r--r--src/statistics.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/statistics.c b/src/statistics.c
index adadf907..9219b069 100644
--- a/src/statistics.c
+++ b/src/statistics.c
@@ -17,11 +17,13 @@
#include <math.h>
#include <stdlib.h>
+#include "statistics.h"
+
/* By what (best-fitted) factor must the list "list" be multiplied by,
* if it were to be merged with "target"? */
-double stat_scale_intensity(double *obs, double *calc, unsigned int *c,
- int size)
+static double stat_scale_intensity(double *obs, double *calc, unsigned int *c,
+ int size)
{
double top = 0.0;
double bot = 0.0;