Apply suggestions from code review

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
serturx 2022-10-05 18:33:14 +02:00 committed by Krishna Vedala
parent 7a997f2755
commit 8241a58d42
1 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
* @file
* @author [serturx](https://github.com/serturx/)
* @brief Encode a null terminated string using [Run-length encoding](https://en.wikipedia.org/wiki/Run-length_encoding)
* @section Description
* @details
* Run-length encoding is a lossless compression algorithm.
* It works by counting the consecutive occurences symbols
* and encodes that series of consecutive symbols into the
@ -13,8 +13,8 @@
*
*/
#include <stdio.h> /// for printf
#include <string.h> ///for string functions
#include <stdio.h> /// for IO operations
#include <string.h> /// for string functions
#include <stdlib.h> /// for malloc/free
#include <assert.h> /// for assert