diff options
author | Thomas White <taw@physics.org> | 2012-03-29 13:59:39 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-03-29 13:59:39 +0200 |
commit | 05ae5bfa6f337cfd9fc9b839e3ff471ddaca1cbc (patch) | |
tree | 7b68434ff44ad25ba71ebca8e2bab8d6f1774c45 /libcrystfel/src/peaks.c | |
parent | 91bc00caa746f6cbd7d0154dcca65978f2fe65a3 (diff) |
integrate_peak() should be static
Diffstat (limited to 'libcrystfel/src/peaks.c')
-rw-r--r-- | libcrystfel/src/peaks.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libcrystfel/src/peaks.c b/libcrystfel/src/peaks.c index 0d4ce64b..829a35ab 100644 --- a/libcrystfel/src/peaks.c +++ b/libcrystfel/src/peaks.c @@ -156,9 +156,10 @@ static int cull_peaks(struct image *image) /* Returns non-zero if peak has been vetoed. * i.e. don't use result if return value is not zero. */ -int integrate_peak(struct image *image, int cfs, int css, - double *pfs, double *pss, double *intensity, double *sigma, - double ir_inn, double ir_mid, double ir_out) +static int integrate_peak(struct image *image, int cfs, int css, + double *pfs, double *pss, + double *intensity, double *sigma, + double ir_inn, double ir_mid, double ir_out) { signed int fs, ss; double lim_sq, out_lim_sq, mid_lim_sq; |