aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-10-07 15:05:29 +0200
committerThomas White <taw@physics.org>2015-10-12 13:57:42 +0200
commit75509bd121ef3cff9fbfd9c0aa4f4ff28262c010 (patch)
treec92ca6000bc59b5e2174cda2448c09cd0d27479e /libcrystfel
parentfaef0b78ac34d0ea2cdc98f7137b504aac94e9d5 (diff)
Fix extern / fussiness
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/detector.c2
-rw-r--r--libcrystfel/src/detector.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c
index ae70e406..99526ff9 100644
--- a/libcrystfel/src/detector.c
+++ b/libcrystfel/src/detector.c
@@ -2210,7 +2210,7 @@ void mark_resolution_range_as_bad(struct image *image,
}
-extern int single_panel_data_source(struct detector *det, const char *element)
+int single_panel_data_source(struct detector *det, const char *element)
{
int pi;
char *first_datafrom = NULL;
diff --git a/libcrystfel/src/detector.h b/libcrystfel/src/detector.h
index 582f82b8..b3474b7a 100644
--- a/libcrystfel/src/detector.h
+++ b/libcrystfel/src/detector.h
@@ -251,7 +251,7 @@ extern void mark_resolution_range_as_bad(struct image *image,
double min, double max);
-extern int single_panel_data_source (struct detector *det, const char *element);
+extern int single_panel_data_source(struct detector *det, const char *element);
struct rg_collection *find_rigid_group_collection_by_name(struct detector *det,
const char *name);