Commit 80791350 authored by Loic Hausammann's avatar Loic Hausammann
Browse files

Logger: remove the engine argument in logger_write_file_header

parent 992cb2af
......@@ -5752,7 +5752,7 @@ void engine_config(int restart, int fof, struct engine *e,
#ifdef WITH_LOGGER
/* Write the particle logger header */
logger_write_file_header(e->logger, e);
logger_write_file_header(e->logger);
#endif
/* Initialise the structure finder */
......
......@@ -456,10 +456,9 @@ void logger_clean(struct logger *log) { dump_close(&log->dump); }
* @brief Write a file header to a logger file
*
* @param log The #logger
* @param dump The #dump in which to log the particle data.
*
*/
void logger_write_file_header(struct logger *log, const struct engine *e) {
void logger_write_file_header(struct logger *log) {
/* get required variables */
struct dump *dump = &log->dump;
......
......@@ -147,7 +147,7 @@ void logger_log_timestamp(struct logger *log, integertime_t t, double time,
size_t *offset);
void logger_ensure_size(struct logger *log, size_t total_nr_parts,
size_t total_nr_gparts, size_t total_nr_sparts);
void logger_write_file_header(struct logger *log, const struct engine *e);
void logger_write_file_header(struct logger *log);
int logger_read_part(struct part *p, size_t *offset, const char *buff);
int logger_read_gpart(struct gpart *p, size_t *offset, const char *buff);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment