Don't make claims of constness that can't be guaranteed in terms the C
compiler can verify. svn path=/trunk/; revision=54792
This commit is contained in:
parent
85ab202c08
commit
0a99ee25d5
|
@ -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;
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue