aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcrystfel/src/image.c8
-rw-r--r--libcrystfel/src/image.h6
2 files changed, 4 insertions, 10 deletions
diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c
index a9389b2f..ef1e115f 100644
--- a/libcrystfel/src/image.c
+++ b/libcrystfel/src/image.c
@@ -566,10 +566,10 @@ static int file_exists(const char *filename)
}
-int image_read_image_data(struct image *image,
- const DataTemplate *dtempl,
- const char *filename,
- const char *event)
+static int image_read_image_data(struct image *image,
+ const DataTemplate *dtempl,
+ const char *filename,
+ const char *event)
{
if ( !file_exists(filename) ) {
ERROR("File not found: %s\n", filename);
diff --git a/libcrystfel/src/image.h b/libcrystfel/src/image.h
index 0d53d289..91a0afc4 100644
--- a/libcrystfel/src/image.h
+++ b/libcrystfel/src/image.h
@@ -213,12 +213,6 @@ extern int image_write(const struct image *image,
extern int create_detgeom(struct image *image,
const DataTemplate *dtempl);
-/* Use within libcrystfel only */
-extern int image_read_image_data(struct image *image,
- const DataTemplate *dtempl,
- const char *filename,
- const char *event);
-
#ifdef __cplusplus
}
#endif