[tor-bugs] #32415 [Core Tor/Tor]: Rename every struct we declare to end with _t.

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Nov 7 13:20:38 UTC 2019


#32415: Rename every struct we declare to end with _t.
-------------------------------+--------------------------------
     Reporter:  nickm          |      Owner:  (none)
         Type:  task           |     Status:  new
     Priority:  Medium         |  Milestone:  Tor: 0.4.3.x-final
    Component:  Core Tor/Tor   |    Version:
     Severity:  Normal         |   Keywords:
Actual Points:                 |  Parent ID:
       Points:  .1             |   Reviewer:
      Sponsor:  Sponsor31-can  |
-------------------------------+--------------------------------
 Per our style poll, we prefer this:

     typedef struct foo_t foo_t;

 over this:

     typedef struct foo_s foo_t;

 So let's replace all the cases where we do the latter.

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


More information about the tor-bugs mailing list