]> The Tcpdump Group git mirrors - tcpdump/commit
make consistent use of the "tstr" idiom
authorDenis Ovsienko <[email protected]>
Thu, 26 Dec 2013 14:08:06 +0000 (18:08 +0400)
committerDenis Ovsienko <[email protected]>
Thu, 26 Dec 2013 14:19:50 +0000 (18:19 +0400)
commitd8acd8f5d0d7cac4881b5552eca5dc40a5d3c0d1
tree5aeac16d418b595a76270d00a2cfb12ebcd31c6c
parentae1fdebb647a437fbec8d3d4845da190da180dd8
make consistent use of the "tstr" idiom

For each decoder that has more than one instance of truncation signaling
and prints the same string in each instance make sure that the string is
declared as "static const char tstr[]" right after the initial includes
block. Where necessary, replace fputs(s, stdout) with equivalent
printf("%s", s).
35 files changed:
print-802_11.c
print-ahcp.c
print-arp.c
print-atalk.c
print-atm.c
print-babel.c
print-bootp.c
print-cdp.c
print-dccp.c
print-decnet.c
print-forces.c
print-gre.c
print-igmp.c
print-ip.c
print-krb.c
print-l2tp.c
print-nfs.c
print-openflow-1.0.c
print-openflow.c
print-ospf.c
print-ospf6.c
print-pflog.c
print-pptp.c
print-radius.c
print-rip.c
print-sl.c
print-smb.c
print-snmp.c
print-syslog.c
print-tftp.c
print-timed.c
print-tipc.c
print-token.c
print-usb.c
print-zeromq.c