diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2009-10-05 00:53:10 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-07 13:51:21 -0700 |
commit | b1c00fe3cf8f54d97d20cdf196145a106f04bd63 (patch) | |
tree | 89a1e28ee2265d8b6d2f07c0fa1c2343ff264f8f /arch/powerpc/sysdev | |
parent | 78122a52b39c9527fa3a32afbb6572964c17c651 (diff) | |
download | linux-b1c00fe3cf8f54d97d20cdf196145a106f04bd63.tar.gz linux-b1c00fe3cf8f54d97d20cdf196145a106f04bd63.tar.bz2 linux-b1c00fe3cf8f54d97d20cdf196145a106f04bd63.zip |
dccp ccid-2: Overhaul CCID naming convention 1/2
This patch starts a less problematic naming convention for CCID structs.
The old naming convention used 'hc{tx,rx}->ccid?hc{tx,rx}->...' as
recurring prefixes, which made the code
* hard to write (not easy to fit into 80 characters);
* hard to read (most of the space is occupied by prefixes).
The new naming scheme:
* struct entries for the TX socket are prefixed by 'tx_';
* and those for the RX socket are prefixed by 'rx_'.
The identifiers then remain distinguishable when grep-ing through the tree:
(a) RX/TX sockets are distinguished by the naming scheme,
(b) individual CCIDs are distinguished by filename (ccid{2,3,4}.{c,h}).
This first patch implements the scheme for CCID-2.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/powerpc/sysdev')
0 files changed, 0 insertions, 0 deletions