Skip to content
Snippets Groups Projects
Commit 656a2df7 authored by Loic Hausammann's avatar Loic Hausammann
Browse files

Remove __ in names

parent 91cda910
Branches
Tags
1 merge request!685Logger loader
......@@ -16,8 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
******************************************************************************/
#ifndef __LOGGER_LOGGER_HEADER_H__
#define __LOGGER_LOGGER_HEADER_H__
#ifndef LOGGER_LOGGER_HEADER_H
#define LOGGER_LOGGER_HEADER_H
#include "logger_tools.h"
......@@ -116,4 +116,4 @@ __attribute__((always_inline)) INLINE static int header_is_corrupted(
return h->offset_direction == logger_offset_corrupted;
}
#endif // __LOGGER_LOGGER_HEADER_H__
#endif // LOGGER_LOGGER_HEADER_H
......@@ -20,8 +20,8 @@
* @file logger_loader_io.h
* @brief This file contains basic IO function.
*/
#ifndef __LOGGER_LOGGER_LOADER_IO_H__
#define __LOGGER_LOGGER_LOADER_IO_H__
#ifndef LOGGER_LOGGER_LOADER_IO_H
#define LOGGER_LOGGER_LOADER_IO_H
#include "logger_header.h"
#include "logger_tools.h"
......@@ -95,4 +95,4 @@ __attribute__((always_inline)) INLINE static void *logger_loader_io_write_data(
return data + size;
};
#endif // __LOGGER_LOGGER_LOADER_IO_H__
#endif // LOGGER_LOGGER_LOADER_IO_H
......@@ -20,8 +20,8 @@
* @file logger_logfile.h
* @brief This file contains the high level function for the log.
*/
#ifndef __LOGGER_LOGGER_LOGFILE_H__
#define __LOGGER_LOGGER_LOGFILE_H__
#ifndef LOGGER_LOGGER_LOGFILE_H
#define LOGGER_LOGGER_LOGFILE_H
#include "logger_header.h"
#include "logger_time.h"
......@@ -66,4 +66,4 @@ void logger_logfile_init_from_file(struct logger_logfile *log, char *filename,
void logger_logfile_reverse_offset(struct logger_logfile *log, char *filename);
void logger_logfile_free(struct logger_logfile *log);
#endif // __LOGGER_LOGGER_LOGFILE_H__
#endif // LOGGER_LOGGER_LOGFILE_H
......@@ -16,8 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
******************************************************************************/
#ifndef __LOGGER_LOGGER_PARTICLE_H__
#define __LOGGER_LOGGER_PARTICLE_H__
#ifndef LOGGER_LOGGER_PARTICLE_H
#define LOGGER_LOGGER_PARTICLE_H
#include "logger_header.h"
#include "logger_time.h"
......@@ -104,4 +104,4 @@ void logger_particle_interpolate(struct logger_particle *part_curr,
const struct logger_particle *part_next,
const double time);
#endif //__LOGGER_LOGGER_PARTICLE_H__
#endif //LOGGER_LOGGER_PARTICLE_H
......@@ -44,8 +44,8 @@
* record for this particle.
*/
#ifndef __LOGGER_LOGGER_READER_H__
#define __LOGGER_LOGGER_READER_H__
#ifndef LOGGER_LOGGER_READER_H
#define LOGGER_LOGGER_READER_H
#include "logger_loader_io.h"
#include "logger_logfile.h"
......@@ -78,4 +78,4 @@ void logger_reader_free(struct logger_reader *reader);
size_t reader_read_record(struct logger_reader *reader,
struct logger_particle *lp, double *time,
int *is_particle, size_t offset);
#endif // __LOGGER_LOGGER_READER_H__
#endif // LOGGER_LOGGER_READER_H
......@@ -16,8 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
******************************************************************************/
#ifndef __LOGGER_LOGGER_TIMELINE_H__
#define __LOGGER_LOGGER_TIMELINE_H__
#ifndef LOGGER_LOGGER_TIMELINE_H
#define LOGGER_LOGGER_TIMELINE_H
#include "logger_header.h"
#include "logger_tools.h"
......@@ -92,4 +92,4 @@ void time_array_print_offset(const struct time_array *t);
size_t time_offset_first_record(const struct header *h);
#endif // __LOGGER_LOGGER_TIMELINE_H__
#endif // LOGGER_LOGGER_TIMELINE_H
......@@ -19,8 +19,8 @@
/**
* @brief This file contains functions that help to navigate in the logs.
*/
#ifndef __LOGGER_LOGGER_TOOLS_H__
#define __LOGGER_LOGGER_TOOLS_H__
#ifndef LOGGER_LOGGER_TOOLS_H
#define LOGGER_LOGGER_TOOLS_H
#include "../config.h"
......@@ -56,4 +56,4 @@ size_t tools_reverse_offset(const struct header *h, void *map, size_t offset);
size_t tools_check_record_consistency(const struct logger_reader *reader,
size_t offset);
#endif //__LOGGER_LOGGER_TOOLS_H__
#endif // LOGGER_LOGGER_TOOLS_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment