Wireshark-commits: [Wireshark-commits] rev 54724: / /trunk/epan/dissectors/: Makefile.common packet
Date: Mon, 13 Jan 2014 21:36:43 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=54724

User: guy
Date: 2014/01/13 09:36 PM

Log:
 f_k() is used outside packet-gsm_a_rr.c, so it can't be static.
 
 In a source file that defines external functions, the header file that
 declares the functions must be included, in order to make sure the
 declarations match the function signature.  Make it so - which means
 creating the header file in the first place.
 
 That means f_k() doesn't need to, and shouldn't be, declared in
 packet-gsm_rlcmac.h.  Include packet-gsm_a_rr.h in packet-gsm_rlcmac.c.

Directory: /trunk/epan/dissectors/
  Changes    Path                   Action
  +1 -0      Makefile.common        Modified
  +4 -2      packet-gsm_a_rr.c      Modified
  +37 -0     packet-gsm_a_rr.h      Added
  +2 -0      packet-gsm_rlcmac.c    Modified
  +0 -2      packet-gsm_rlcmac.h    Modified