diff options
author | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-20 20:02:43 +0000 |
---|---|---|
committer | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-20 20:02:43 +0000 |
commit | 895cba9bcb9bda0ed9d0027bb2a60c9c21b48f5b (patch) | |
tree | ea6b2ef7ba9b8c823a2aa153db5d5ce326a68950 /gcc/libgcc2.c | |
parent | aa1ae31c353920be20ea482b81b82ab8832c7b77 (diff) | |
download | gcc-895cba9bcb9bda0ed9d0027bb2a60c9c21b48f5b.tar.gz |
* libgcc2.c (__bb_exit_func): Remove unused variable.
(num_digits): Remove unused function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48215 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r-- | gcc/libgcc2.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c index 9376fa0e743..08bfc3438e3 100644 --- a/gcc/libgcc2.c +++ b/gcc/libgcc2.c @@ -1310,30 +1310,10 @@ BLOCK_PROFILER_CODE static struct bb *bb_head; -static int num_digits (long long value, int base) __attribute__ ((const)); - -/* Return the number of digits needed to print a value */ -/* __inline__ */ static int num_digits (long long value, int base) -{ - int minus = (value < 0 && base != 16); - unsigned long long v = (minus) ? -value : value; - int ret = minus; - - do - { - v /= base; - ret++; - } - while (v); - - return ret; -} - void __bb_exit_func (void) { FILE *da_file; - long time_value; int i; struct bb *ptr; |