diff --git a/numericx.c b/numericx.c index f6f3b31..be20422 100644 --- a/numericx.c +++ b/numericx.c @@ -169,38 +169,6 @@ is_the_same(numeral_ptr* numeral, char* number_arg) return (*number_arg == '\0') ? true : false; } -/** - * @brief Print numeral - * - * Prints to standard output numeral_ptr ('numeral'). - * - * @param numeral - numeral_ptr to print. - * @param to_units_on_the_end - define if printing a number with units on the end (on the right) - */ -static void -print_numeral(numeral_ptr* numeral, bool to_units_on_the_end) -{ - if( to_units_on_the_end ) - { - while( !(numeral->next == NULL) ) - numeral = numeral->next; - - while( !(numeral == NULL) ) - { - printf("%c", *(numeral->symbol)); - numeral = numeral->previous; - } - } - else - { - while( !(numeral == NULL) ) - { - printf("%c", *(numeral->symbol)); - numeral = numeral->next; - } - } -} - /** * @brief Reverse a string. *