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 | |
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
-rw-r--r-- | asn1/h248/packet-h248-template.c | 2 | ||||
-rw-r--r-- | asn1/h248/packet-h248-template.h | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-h248.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-h248.h | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-h248_10.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-h248_2.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-h248_3gpp.c | 6 | ||||
-rw-r--r-- | epan/dissectors/packet-h248_7.c | 2 |
8 files changed, 10 insertions, 10 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 */ diff --git a/epan/dissectors/packet-h248.c b/epan/dissectors/packet-h248.c index 6306ed607b..85b5f88c40 100644 --- a/epan/dissectors/packet-h248.c +++ b/epan/dissectors/packet-h248.c @@ -1380,7 +1380,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/epan/dissectors/packet-h248.h b/epan/dissectors/packet-h248.h index 8d7d8ed3f3..0af79d3f39 100644 --- a/epan/dissectors/packet-h248.h +++ b/epan/dissectors/packet-h248.h @@ -123,6 +123,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 */ diff --git a/epan/dissectors/packet-h248_10.c b/epan/dissectors/packet-h248_10.c index 4680723727..a007eff8f3 100644 --- a/epan/dissectors/packet-h248_10.c +++ b/epan/dissectors/packet-h248_10.c @@ -74,7 +74,7 @@ static const h248_pkg_evt_t h248_CHP_mgcon_events[] = { { 0, NULL, NULL, NULL, NULL} }; -static const h248_package_t h248_pkg_CHP = { +static h248_package_t h248_pkg_CHP = { 0x0029, &proto_h248_CHP, &ett_h248_CHP, diff --git a/epan/dissectors/packet-h248_2.c b/epan/dissectors/packet-h248_2.c index ad58c13cd2..6221f02f05 100644 --- a/epan/dissectors/packet-h248_2.c +++ b/epan/dissectors/packet-h248_2.c @@ -105,7 +105,7 @@ static h248_pkg_evt_t h248_pkg_generic_cause_evts[] = { /* Call Type Discrimination Package */ -static const h248_package_t h248_pkg_ctype = { +static h248_package_t h248_pkg_ctype = { 0x0011, /* Id */ &proto_h248_2, /* hfid */ &ett_h248_2, /* ett */ diff --git a/epan/dissectors/packet-h248_3gpp.c b/epan/dissectors/packet-h248_3gpp.c index 60f258108a..f1d35353c7 100644 --- a/epan/dissectors/packet-h248_3gpp.c +++ b/epan/dissectors/packet-h248_3gpp.c @@ -127,7 +127,7 @@ static const h248_pkg_param_t h248_package_3GUP_properties[] = { { 0x0000, NULL, NULL, NULL } }; -static const h248_package_t h248_package_3GUP = { +static h248_package_t h248_package_3GUP = { 0x002f, &proto_h248_package_3GUP, &ett_h248_package_3GUP, @@ -257,7 +257,7 @@ static const h248_pkg_sig_t h248_package_3GCSD_sigs[] = { { 0, NULL, NULL, NULL,NULL} }; -static const h248_package_t h248_package_3GCSD = { +static h248_package_t h248_package_3GCSD = { 0x0030, &hf_h248_package_3GCSD, &ett_h248_package_3GCSD, @@ -415,7 +415,7 @@ static const h248_pkg_evt_t h248_package_3GTFO_evts[] = { { 0, NULL, NULL, NULL,NULL} }; -static const h248_package_t h248_package_3GTFO = { +static h248_package_t h248_package_3GTFO = { 0x0031, &hf_h248_package_3GTFO, &ett_h248_package_3GTFO, diff --git a/epan/dissectors/packet-h248_7.c b/epan/dissectors/packet-h248_7.c index 4b7e7374d5..5cba7a1b28 100644 --- a/epan/dissectors/packet-h248_7.c +++ b/epan/dissectors/packet-h248_7.c @@ -123,7 +123,7 @@ static const h248_pkg_sig_t h248_an_signals[] = { { 0, NULL, NULL, NULL, NULL} }; -static const h248_package_t h248_pkg_an = { +static h248_package_t h248_pkg_an = { 0x001d, &proto_h248_an, &ett_h248_an, |