aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-09-08 11:21:47 +0200
committerThomas White <taw@physics.org>2020-09-08 16:16:48 +0200
commit587e10e6550fd012756d7adac733ba928f92a7a9 (patch)
tree0d8f4d9bc4f53292e20da7feadaa6f550bafd7cf
parentc8285cdb31f61edc2a5d13309d1c318640ffc1e1 (diff)
Un-export image_read_image_data
Not needed since f5b3c4db36fa.
-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