X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Flogger.h;h=d6a28c59efe2f452c7d75ae28229bc6b80d7088c;hp=94482697449bcd3de758da8d59580751f5c095bd;hb=963c5055505f2fc117cd5efa06eaa02c9b2bf85d;hpb=01eaeb3c9fa60ae9c6e5b866acd9baef79622d99 diff --git a/src/logger.h b/src/logger.h index 94482697..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))); +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