diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-01-14 17:45:03 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-01-14 17:45:03 +0000 |
commit | 0a99ee25d5cce63ddbd52215969bae948c7501d3 (patch) | |
tree | e84332d4628df3b173adad8cc7cd9ad4213298ae /asn1 | |
parent | 85ab202c08b3e0c5eafef26f3dddc2c4214b5ac4 (diff) |
Don't make claims of constness that can't be guaranteed in terms the C
compiler can verify.
svn path=/trunk/; revision=54792
Diffstat (limited to 'asn1')
-rw-r--r-- | asn1/h248/packet-h248-template.c | 2 | ||||
-rw-r--r-- | asn1/h248/packet-h248-template.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/asn1/h248/packet-h248-template.c b/asn1/h248/packet-h248-template.c index 253b9fbf7a..2ffc3fd0be 100644 --- a/asn1/h248/packet-h248-template.c +++ b/asn1/h248/packet-h248-template.c @@ -905,7 +905,7 @@ static gboolean is_pkg_default(guint16 pkgid) { return s_pkg->is_default; } -void h248_register_package(const h248_package_t* pkg, pkg_reg_action reg_action) { +void h248_register_package(h248_package_t* pkg, pkg_reg_action reg_action) { h248_package_t *pkg_found = NULL, *pkg_high = NULL, *pkg_low = NULL; s_h248_package_t *s_pkg = NULL; value_string *vst; diff --git a/asn1/h248/packet-h248-template.h b/asn1/h248/packet-h248-template.h index 96e87f35e0..5d79ff5231 100644 --- a/asn1/h248/packet-h248-template.h +++ b/asn1/h248/packet-h248-template.h @@ -115,6 +115,6 @@ struct _h248_curr_info_t { }; WS_DLL_PUBLIC -void h248_register_package(const h248_package_t* pkg, pkg_reg_action reg_action); +void h248_register_package(h248_package_t* pkg, pkg_reg_action reg_action); #endif /* PACKET_H248_H */ |