diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-06-16 07:27:48 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-06-16 07:27:48 +0000 |
commit | 38bbf40f6475a84b339c354ba129eeee00d55bb9 (patch) | |
tree | 6c27bc939a6d2835d8fafab3480bb5b296f316b0 | |
parent | 3a62afcfed8d9883bd14214cf2779724bcc4edff (diff) |
Constify a return value, to squelch a compiler warning.
svn path=/trunk/; revision=37680
-rw-r--r-- | epan/epan.c | 4 | ||||
-rw-r--r-- | epan/epan.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/epan/epan.c b/epan/epan.c index 47f994bd6b..1eae2f184e 100644 --- a/epan/epan.c +++ b/epan/epan.c @@ -71,9 +71,9 @@ #include "geoip_db.h" #endif -gchar* +const gchar* epan_get_version(void) { - return VERSION; + return VERSION; } void diff --git a/epan/epan.h b/epan/epan.h index f489c6de4e..5529d5ca70 100644 --- a/epan/epan.h +++ b/epan/epan.h @@ -84,7 +84,7 @@ epan_new(void); void epan_free(epan_t*); -extern gchar* +extern const gchar* epan_get_version(void); /** initialize an existing single packet dissection */ |