diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-10-12 18:25:42 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-10-12 18:25:42 +0000 |
commit | f2f1023487ad8aa88f3d3ab58fff0cb34f64f2d7 (patch) | |
tree | 149762105606f8fd8d4e1cbdcdb93c3e9283efc8 | |
parent | 2b0f6a63f1585db5d0285728e92e946d6cbb58a5 (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).
svn path=/trunk/; revision=34491
-rw-r--r-- | capture-wpcap.c | 2 | ||||
-rw-r--r-- | epan/plugins.c | 2 | ||||
-rw-r--r-- | epan/plugins.h | 2 |
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 */ |