Remove unused function

This commit is contained in:
Nikos Tsipinakis 2016-11-22 17:55:28 +02:00
parent 2784950f45
commit 756dee58c7
2 changed files with 0 additions and 15 deletions

View File

@ -128,19 +128,6 @@ void string_strip_delimited(char *str, char a, char b)
str[iwrite] = 0; str[iwrite] = 0;
} }
int digit_count(int i)
{
i = ABS(i);
int len = 1;
while (i > 0) {
len++;
i /= 10;
}
return len;
}
void die(char *text, int exit_value) void die(char *text, int exit_value)
{ {
fputs(text, stderr); fputs(text, stderr);

View File

@ -22,8 +22,6 @@ void string_strip_delimited(char *str, char a, char b);
/* exit with an error message */ /* exit with an error message */
void die(char *msg, int exit_value); void die(char *msg, int exit_value);
int digit_count(int i);
#endif #endif
/* vim: set tabstop=8 shiftwidth=8 expandtab textwidth=0: */ /* vim: set tabstop=8 shiftwidth=8 expandtab textwidth=0: */