X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Flogger.h;h=d6a28c59efe2f452c7d75ae28229bc6b80d7088c;hp=05773d6c63b6271cdc2b3c2d92a9a0fc0f917c4a;hb=61d9b04f66055e61f0afdf8955ff890f4da39288;hpb=196806f90f40fcc0cf727abd4bed6bc5aefff5ff 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