[tor-bugs] #28779 [Core Tor/Tor]: Remove double function declarations in circuitpadding.c/test_circuitpadding.c

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Dec 7 14:38:30 UTC 2018


#28779: Remove double function declarations in
circuitpadding.c/test_circuitpadding.c
-------------------------+-------------------------------------------------
     Reporter:  asn      |      Owner:  (none)
         Type:  defect   |     Status:  new
     Priority:  Medium   |  Milestone:  Tor: unspecified
    Component:  Core     |    Version:
  Tor/Tor                |   Keywords:  wtf-pad, tor-relay, tor-cell,
     Severity:  Normal   |  padding, technical-debt, refactor, easy
Actual Points:           |  Parent ID:  #28637
       Points:           |   Reviewer:
      Sponsor:           |
-------------------------+-------------------------------------------------
 We can use the STATIC macro to avoid defining every function twice.
 We can also rearrange the circuitpadding.c functions so that we don't need
 to define them on top of the .c file.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28779>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list