Wireshark-commits: [Wireshark-commits] rev 25601: /trunk/ /trunk/epan/dissectors/: packet-cdp.c pac

Date: Wed, 25 Jun 2008 09:12:38 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=25601

User: guy
Date: 2008/06/25 02:12 AM

Log:
 Constify a bunch of stuff, to squelch -Wwrite-strings warnings. 
 epan/dissectors/packet-ncp2222.inc is a bit hard to fix, so we're not
 ready to enable that warning by default yet.
 
 Throw in some casts to handle GLib routines that take arbitrary
 non-const pointers (they can later return the pointers, and some
 callers might want to modify or free up those pointers in cases where
 they're known to be writable or allocated).
 
 Use ep_tvb_memdup() rather than a combination of ep_alloc() and
 tvb_memcpy().
 
 Clean up some indentation.

Directory: /trunk/epan/dissectors/
  Changes    Path                        Action
  +1 -1      packet-cdp.c                Modified
  +1 -1      packet-dhcp-failover.c      Modified
  +90 -90    packet-fix.c                Modified
  +1 -1      packet-icep.c               Modified
  +1 -1      packet-icmpv6.c             Modified
  +1 -1      packet-ieee80211.c          Modified
  +1 -1      packet-image-png.c          Modified
  +1 -1      packet-imf.c                Modified
  +2 -2      packet-ip.c                 Modified
  +3 -2      packet-ipv6.c               Modified
  +1 -1      packet-isis-clv.c           Modified


(22 files not shown)