diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-05-09 15:54:27 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-05-09 22:55:00 +0000 |
commit | 6febe27586426ac556b56b491a93fed4c852680a (patch) | |
tree | ee2ccfc094f8e46744e7fe902870d80e98394505 /epan/to_str.h | |
parent | 4013776eecf7f64ce4f681f13297147c15092c2c (diff) |
Give the time_[m]secs_to routines names that begin with "[un]signed_".
Indicate whether they take a signed time delta or an unsigned time
delta.
Export unsigned_time_secs_to_str() while we're at it.
Change-Id: I0fbe87f1825efa886364caa61a3358b79d285947
Reviewed-on: https://code.wireshark.org/review/15324
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/to_str.h')
-rw-r--r-- | epan/to_str.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/to_str.h b/epan/to_str.h index 687395a8dd..36849e0b84 100644 --- a/epan/to_str.h +++ b/epan/to_str.h @@ -104,9 +104,9 @@ WS_DLL_PUBLIC void display_epoch_time(gchar *, int, const time_t, gint32, const WS_DLL_PUBLIC void display_signed_time(gchar *, int, const gint32, gint32, const to_str_time_res_t); -WS_DLL_PUBLIC gchar* time_secs_to_str(wmem_allocator_t *scope, const gint32 time_val); -gchar* time_secs_to_str_unsigned(wmem_allocator_t *scope, const guint32); -WS_DLL_PUBLIC gchar* time_msecs_to_str(wmem_allocator_t *scope, gint32 time_val); +WS_DLL_PUBLIC gchar* signed_time_secs_to_str(wmem_allocator_t *scope, const gint32 time_val); +WS_DLL_PUBLIC gchar* unsigned_time_secs_to_str(wmem_allocator_t *scope, const guint32); +WS_DLL_PUBLIC gchar* signed_time_msecs_to_str(wmem_allocator_t *scope, gint32 time_val); extern void guint32_to_str_buf(guint32 u, gchar *buf, int buf_len); extern void guint64_to_str_buf(guint64 u, gchar *buf, int buf_len); |