aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2010-10-12 18:25:42 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2010-10-12 18:25:42 +0000
commit417a86a4176c9c11977f3e4b989b80d4ba5e7295 (patch)
tree149762105606f8fd8d4e1cbdcdb93c3e9283efc8
parent1278c356383be55b25be17b53e0874452f3f009d (diff)
Fix comments (not all platforms on which we run support dlopen(), but
GLib handles that with g_module_open() as a platform-independent "load a module at run time" wrapper). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34491 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r--capture-wpcap.c2
-rw-r--r--epan/plugins.c2
-rw-r--r--epan/plugins.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/capture-wpcap.c b/capture-wpcap.c
index 9da61f9ab4..5492f972ca 100644
--- a/capture-wpcap.c
+++ b/capture-wpcap.c
@@ -873,7 +873,7 @@ get_runtime_pcap_version(GString *str)
* not and, if we have it and we have "pcap_lib_version()",
* what version we have.
*/
- GModule *handle; /* handle returned by dlopen */
+ GModule *handle; /* handle returned by ws_module_open */
static gchar *packetVer;
gchar *blankp;
diff --git a/epan/plugins.c b/epan/plugins.c
index 563baeae6f..fcf694a099 100644
--- a/epan/plugins.c
+++ b/epan/plugins.c
@@ -139,7 +139,7 @@ plugins_scan_dir(const char *dirname)
WS_DIRENT *file; /* current file */
const char *name;
gchar filename[FILENAME_LEN]; /* current file name */
- GModule *handle; /* handle returned by dlopen */
+ GModule *handle; /* handle returned by g_module_open */
gchar *version;
gpointer gp;
void (*register_protoinfo)(void);
diff --git a/epan/plugins.h b/epan/plugins.h
index 02fbfa83db..b11c4748ec 100644
--- a/epan/plugins.h
+++ b/epan/plugins.h
@@ -31,7 +31,7 @@
#include "packet.h"
typedef struct _plugin {
- GModule *handle; /* handle returned by dlopen */
+ GModule *handle; /* handle returned by g_module_open */
gchar *name; /* plugin name */
gchar *version; /* plugin version */
void (*register_protoinfo)(void); /* routine to call to register protocol information */