diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-24 01:38:58 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-24 01:38:58 +0000 |
commit | dfc2b16e29873c54c6bf7623bac02c2e2571e827 (patch) | |
tree | 2f7b526daf62f42536c034d6f9820bccdec4a9af /epan/dissectors/packet-dtls.c | |
parent | 1909b97d4d4b235fc6b3232bee3e3285d876b26d (diff) |
Fix mess with ssl_version_short_names[] being defined multiple places
now that it is no longer a static variable in packet-ssl-utils.h.
Leaving it as static caused a warning turned error that it was unused
in the current file (packet-ssl-utils.h). Resolution: Move the variable
to packet-ssl.c and declare as extern in packet-dtls.c - the only other
place that needs it.
svn path=/trunk/; revision=21161
Diffstat (limited to 'epan/dissectors/packet-dtls.c')
-rw-r--r-- | epan/dissectors/packet-dtls.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dtls.c b/epan/dissectors/packet-dtls.c index 605e3025e2..811fe34d00 100644 --- a/epan/dissectors/packet-dtls.c +++ b/epan/dissectors/packet-dtls.c @@ -67,6 +67,8 @@ #include <epan/tap.h> #include "packet-ssl-utils.h" +extern const gchar *ssl_version_short_names; + /* we need to remember the top tree so that subdissectors we call are created * at the root and not deep down inside the DTLS decode */ |