From ddc689a335bf79c9e0b765417def4ca149c3ccea Mon Sep 17 00:00:00 2001 From: Mohammed YMIK Date: Fri, 12 Jun 2020 16:38:52 +0100 Subject: [PATCH] Done --- conversions/c_atoi_str_to_integer.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/conversions/c_atoi_str_to_integer.c b/conversions/c_atoi_str_to_integer.c index 3d213c24..01ba2c53 100644 --- a/conversions/c_atoi_str_to_integer.c +++ b/conversions/c_atoi_str_to_integer.c @@ -1,7 +1,7 @@ /** * \file * \brief Recoding the original atoi function in stdlib.h - * \author [Krishna Vedala](https://github.com/kvedala) + * \author [Mohammed YMIK](https://github.com/medymik) * * The function convert a string passed to an integer */ @@ -16,12 +16,6 @@ */ int c_atoi(const char *str) { - /** - * i is a counter - * sign hold the sign (negative or positive) - * value hold the current value by default set to 0 - * prev hold the previous value for managing the overflow - */ int i; int sign; long value;