summaryrefslogtreecommitdiff
path: root/tshark.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-07-15 02:07:16 +0000
committerGuy Harris <guy@alum.mit.edu>2010-07-15 02:07:16 +0000
commitcc3540b0fbdd25619087c52c6e026827b9911347 (patch)
tree57a489332b4e4693a73fa7de09672b2b5f178b14 /tshark.c
parente10147fb73f29185353af69bf969fbfe7634198c (diff)
downloadwireshark-cc3540b0fbdd25619087c52c6e026827b9911347.tar.gz
Move the code to get version information for libraries used by
libwireshark into libwireshark, and call it only in programs linked with libwireshark. That way, programs that don't link with libwireshark don't have to link with libgcrypt or libgnutls solely so that they can say that they're linked with a particular version of libgcrypt or libgnutls. Don't link dumpcap with libgcrypt or libgnutls any more. svn path=/trunk/; revision=33531
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tshark.c b/tshark.c
index 68a4b3f135..a4d0ad1ef1 100644
--- a/tshark.c
+++ b/tshark.c
@@ -1257,7 +1257,7 @@ main(int argc, char *argv[])
GString *runtime_info_str;
/* Assemble the compile-time version information string */
comp_info_str = g_string_new("Compiled ");
- get_compiled_version_info(comp_info_str, get_epan_compiled_version_info);
+ get_compiled_version_info(comp_info_str, epan_get_compiled_version_info);
/* Assemble the run-time version information string */
runtime_info_str = g_string_new("Running ");