From d15ecb60ec17e0f9b0825d4f6705f6e4264232d2 Mon Sep 17 00:00:00 2001 From: Carsten Schoenert Date: Sun, 15 Mar 2015 13:00:44 +0100 Subject: [PATCH] i/c/prng.h: whitespace cleanup, reformatting, no changes Just some cleanup like whitespace, punctiation marking and indentation issues. --- include/coap/prng.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/include/coap/prng.h b/include/coap/prng.h index 56b6304f..f963e79d 100644 --- a/include/coap/prng.h +++ b/include/coap/prng.h @@ -3,10 +3,10 @@ * Copyright (C) 2010,2011 Olaf Bergmann * * This file is part of the CoAP library libcoap. Please see - * README for terms of use. + * README for terms of use. */ -/** +/** * @file prng.h * @brief Pseudo Random Numbers */ @@ -16,7 +16,7 @@ #include "coap_config.h" -/** +/** * @defgroup prng Pseudo Random Numbers * @{ */ @@ -25,9 +25,9 @@ #include /** - * Fills \p buf with \p len random bytes. This is the default - * implementation for prng(). You might want to change prng() to use - * a better PRNG on your specific platform. + * Fills \p buf with \p len random bytes. This is the default implementation for + * prng(). You might want to change prng() to use a better PRNG on your specific + * platform. */ static inline int coap_prng_impl(unsigned char *buf, size_t len) { @@ -39,9 +39,9 @@ coap_prng_impl(unsigned char *buf, size_t len) { #include /** - * Fills \p buf with \p len random bytes. This is the default - * implementation for prng(). You might want to change prng() to use - * a better PRNG on your specific platform. + * Fills \p buf with \p len random bytes. This is the default implementation for + * prng(). You might want to change prng() to use a better PRNG on your specific + * platform. */ static inline int contiki_prng_impl(unsigned char *buf, size_t len) { @@ -62,18 +62,18 @@ contiki_prng_impl(unsigned char *buf, size_t len) { #endif /* WITH_CONTIKI */ #ifndef prng -/** - * Fills \p Buf with \p Length bytes of random data. - * +/** + * Fills \p Buf with \p Length bytes of random data. + * * @hideinitializer */ #define prng(Buf,Length) coap_prng_impl((Buf), (Length)) #endif #ifndef prng_init -/** - * Called to set the PRNG seed. You may want to re-define this to - * allow for a better PRNG. +/** + * Called to set the PRNG seed. You may want to re-define this to allow for a + * better PRNG. * * @hideinitializer */