aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/p1/packet-p1-template.c
AgeCommit message (Collapse)AuthorFilesLines
2012-12-26Fix a bunch of warnings.Guy Harris1-1/+1
Cast away some implicit 64-bit-to-32-bit conversion errors due to use of sizeof. Cast away some implicit 64-bit-to-32-bit conversion errors due to use of strtol() and strtoul(). Change some data types to avoid those implicit conversion warnings. When assigning a constant to a float, make sure the constant isn't a double, by appending "f" to the constant. Constify a bunch of variables, parameters, and return values to eliminate warnings due to strings being given const qualifiers. Cast away those warnings in some cases where an API we don't control forces us to do so. Enable a bunch of additional warnings by default. Note why at least some of the other warnings aren't enabled. randpkt.c and text2pcap.c are used to build programs, so they don't need to be in EXTRA_DIST. If the user specifies --enable-warnings-as-errors, add -Werror *even if the user specified --enable-extra-gcc-flags; assume they know what they're doing and are willing to have the compile fail due to the extra GCC warnings being treated as errors. svn path=/trunk/; revision=46748
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45015
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-03-02Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-1/+0
svn path=/trunk/; revision=41297
2011-07-19Use ENC_NA as encoding for FT_PROTOCOL, FT_NONE and FT_BYTES.Stig Bjørlykke1-2/+2
svn path=/trunk/; revision=38122
2011-07-19Use correct encoding for proto_tree_add_item().Stig Bjørlykke1-2/+2
svn path=/trunk/; revision=38107
2011-05-27Corrected "old-style function definition".Stig Bjørlykke1-1/+4
svn path=/trunk/; revision=37429
2011-02-22Ensure we always have a valid top_tree for p1.content. This fixes a problemStig Bjørlykke1-2/+11
with other dissectors using p1.content, such as p7. Reset global content_type_id so this will be correct in more cases. This is still not a good solution, because ContentType and Content are generic objects which may occur individual in P7. Indicate when to report invalid content-type. svn path=/trunk/; revision=36025
2011-02-20Renamed x411 to p1, x420 to p22 and s4406 to p772 to be consistentStig Bjørlykke1-0/+350
on the naming policy for X.400 protocols. svn path=/trunk/; revision=36013