X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Flogger.h;h=d6a28c59efe2f452c7d75ae28229bc6b80d7088c;hb=0b6635bd9460ba2f9aeafddd2aef79929cd417a1;hp=05773d6c63b6271cdc2b3c2d92a9a0fc0f917c4a;hpb=196806f90f40fcc0cf727abd4bed6bc5aefff5ff;p=meshlink diff --git a/src/logger.h b/src/logger.h index 05773d6c..d6a28c59 100644 --- a/src/logger.h +++ b/src/logger.h @@ -1,6 +1,9 @@ +#ifndef MESHLINK_LOGGER_H +#define MESHLINK_LOGGER_H + /* logger.h -- header file for logger.c - Copyright (C) 2014 Guus Sliepen + Copyright (C) 2014, 2017 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,11 +20,8 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __MESHLINK_LOGGER_H__ -#define __MESHLINK_LOGGER_H__ - #include "meshlink_internal.h" extern void logger(meshlink_handle_t *mesh, meshlink_log_level_t level, const char *format, ...) __attribute__((__format__(printf, 3, 4))); -#endif /* __MESHLINK_LOGGER_H__ */ +#endif