From 62ddbd232c405013d210d763c03a398bfc8b944b Mon Sep 17 00:00:00 2001 From: Carsten Schoenert Date: Sun, 15 Mar 2015 12:57:20 +0100 Subject: [PATCH] i/c/debug.h: whitespace cleanup, reformatting, no changes Just some cleanup like whitespace, punctiation marking and indentation issues. --- include/coap/debug.h | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/include/coap/debug.h b/include/coap/debug.h index 07ad8d84..e3f21519 100644 --- a/include/coap/debug.h +++ b/include/coap/debug.h @@ -3,7 +3,7 @@ * Copyright (C) 2010,2011,2014 Olaf Bergmann * * This file is part of the CoAP library libcoap. Please see - * README for terms of use. + * README for terms of use. */ #ifndef _COAP_DEBUG_H_ @@ -24,8 +24,14 @@ typedef short coap_log_t; #else /** Pre-defined log levels akin to what is used in \b syslog. */ -typedef enum { LOG_EMERG=0, LOG_ALERT, LOG_CRIT, LOG_WARNING, - LOG_NOTICE, LOG_INFO, LOG_DEBUG +typedef enum { + LOG_EMERG=0, + LOG_ALERT, + LOG_CRIT, + LOG_WARNING, + LOG_NOTICE, + LOG_INFO, + LOG_DEBUG } coap_log_t; #endif @@ -41,11 +47,10 @@ const char *coap_package_name(void); /** Returns a zero-terminated string with the library version. */ const char *coap_package_version(void); -/** - * Writes the given text to @c COAP_ERR_FD (for @p level <= @c - * LOG_CRIT) or @c COAP_DEBUG_FD (for @p level >= @c LOG_WARNING). The - * text is output only when @p level is below or equal to the log - * level that set by coap_set_log_level(). +/** + * Writes the given text to @c COAP_ERR_FD (for @p level <= @c LOG_CRIT) or @c + * COAP_DEBUG_FD (for @p level >= @c LOG_WARNING). The text is output only when + * @p level is below or equal to the log level that set by coap_set_log_level(). */ void coap_log_impl(coap_log_t level, const char *format, ...);