mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-22 14:23:04 +01:00
Fix an unused function warning
svn:r3255
This commit is contained in:
parent
5f40d6bf72
commit
858eda4736
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,7 @@ static void command_process_created_cell(cell_t *cell, connection_t *conn);
|
|||
static void command_process_relay_cell(cell_t *cell, connection_t *conn);
|
||||
static void command_process_destroy_cell(cell_t *cell, connection_t *conn);
|
||||
|
||||
#ifdef KEEP_TIMING_STATS
|
||||
/** This is a wrapper function around the actual function that processes the
|
||||
* <b>cell</b> that just arrived on <b>conn</b>. Increment <b>*time</b>
|
||||
* by the number of microseconds used by the call to <b>*func(cell, conn)</b>.
|
||||
|
@ -56,6 +57,7 @@ static void command_time_process_cell(cell_t *cell, connection_t *conn, int *tim
|
|||
}
|
||||
*time += time_passed;
|
||||
}
|
||||
#endif
|
||||
|
||||
/** Process a <b>cell</b> that was just received on <b>conn</b>. Keep internal
|
||||
* statistics about how many of each cell we've processed so far
|
||||
|
|
Loading…
Add table
Reference in a new issue