diff options
Diffstat (limited to 'asn1/ldap/packet-ldap-template.c')
-rw-r--r-- | asn1/ldap/packet-ldap-template.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/asn1/ldap/packet-ldap-template.c b/asn1/ldap/packet-ldap-template.c index 63dd7a2c56..a55186f42e 100644 --- a/asn1/ldap/packet-ldap-template.c +++ b/asn1/ldap/packet-ldap-template.c @@ -222,7 +222,7 @@ static dissector_handle_t spnego_handle; static dissector_handle_t ssl_handle; static dissector_handle_t ldap_handle ; -void prefs_register_ldap(void); /* forward declaration for use in preferences registration */ +static void prefs_register_ldap(void); /* forward declaration for use in preferences registration */ /* different types of rpc calls ontop of ms cldap */ @@ -2199,7 +2199,9 @@ proto_reg_handoff_ldap(void) } -void prefs_register_ldap(void) { +static void +prefs_register_ldap(void) +{ if(tcp_port != global_ldap_tcp_port) { if(tcp_port) |