diff options
Diffstat (limited to 'libcrystfel/src')
-rw-r--r-- | libcrystfel/src/reflist-utils.c | 10 | ||||
-rw-r--r-- | libcrystfel/src/reflist-utils.h | 2 | ||||
-rw-r--r-- | libcrystfel/src/reflist.c | 2 |
3 files changed, 3 insertions, 11 deletions
diff --git a/libcrystfel/src/reflist-utils.c b/libcrystfel/src/reflist-utils.c index 380a1b8a..1aee6018 100644 --- a/libcrystfel/src/reflist-utils.c +++ b/libcrystfel/src/reflist-utils.c @@ -154,17 +154,11 @@ int find_equiv_in_list(RefList *list, signed int h, signed int k, /** - * write_reflections_to_file: - * @fh: File handle to write to - * @list: The reflection list to write - * - * This function writes the contents of @list to @fh, - * + * Write the actual reflections to the file, no headers etc. * Reflections which have a redundancy of zero will not be written. - * * The resulting list can be read back with read_reflections_from_file(). **/ -void write_reflections_to_file(FILE *fh, RefList *list) +static void write_reflections_to_file(FILE *fh, RefList *list) { Reflection *refl; RefListIterator *iter; diff --git a/libcrystfel/src/reflist-utils.h b/libcrystfel/src/reflist-utils.h index d86eb398..50838b86 100644 --- a/libcrystfel/src/reflist-utils.h +++ b/libcrystfel/src/reflist-utils.h @@ -46,8 +46,6 @@ extern "C" { #define REFLECTION_END_MARKER "End of reflections" -extern void write_reflections_to_file(FILE *fh, RefList *list); - extern int write_reflist(const char *filename, RefList *list); extern int write_reflist_2(const char *filename, RefList *list, SymOpList *sym); diff --git a/libcrystfel/src/reflist.c b/libcrystfel/src/reflist.c index 3076cfe9..6f44681d 100644 --- a/libcrystfel/src/reflist.c +++ b/libcrystfel/src/reflist.c @@ -1181,7 +1181,7 @@ const char *reflist_get_notes(RefList *reflist) * * Appends the string @notes_add to the notes field for @reflist. The notes * will be stored in the reflection list file by, e.g., - * write_reflections_to_file(), and are meant to be for humans to read. + * write_reflist(), and are meant to be for humans to read. * Possible uses include making a record of the command line arguments used to * create the reflection list. */ |