diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-12-04 19:39:09 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-12-04 19:39:09 +0000 |
commit | f43601180cf39bcdb635a6deb2e6e7e271bde7a0 (patch) | |
tree | 4b3f1e54aacb5f529cb4962714b92e4f398ececb /epan/oids.h | |
parent | 0fa29bb1eab696d791e455839405702e8fafaf16 (diff) | |
download | wireshark-f43601180cf39bcdb635a6deb2e6e7e271bde7a0.tar.gz |
Only define oid_get_default_mib_path() if we have libsmi.
Explicitly mark it as having no arguments.
svn path=/trunk/; revision=23754
Diffstat (limited to 'epan/oids.h')
-rw-r--r-- | epan/oids.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/oids.h b/epan/oids.h index a0329c3880..0bd7c511a5 100644 --- a/epan/oids.h +++ b/epan/oids.h @@ -153,13 +153,15 @@ extern void oid_add(const char* name, guint oid_len, guint32 *subids); extern void oid_add_from_encoded(const char* name, const guint8 *oid, gint oid_len); extern void oid_add_from_string(const char* name, const gchar *oid_str); +#ifdef HAVE_LIBSMI /** * Fetch the default MIB/PIB path * * @return A string containing the default MIB/PIB path. It must be * g_free()d by the caller. */ -extern gchar *oid_get_default_mib_path(); +extern gchar *oid_get_default_mib_path(void); +#endif extern void oid_add_from_string(const char* name, const gchar *oid_str); |