about summary refs log tree commit diff stats
path: root/numericx.c
diff options
context:
space:
mode:
Diffstat (limited to 'numericx.c')
-rw-r--r--numericx.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/numericx.c b/numericx.c
index f6f3b31..be20422 100644
--- a/numericx.c
+++ b/numericx.c
@@ -170,38 +170,6 @@ is_the_same(numeral_ptr* numeral, char* number_arg)
 }
 
 /**
- * @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.
  *
  * @param string - string to be reversed.