diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2010-05-28 20:19:55 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2010-05-28 20:19:55 +0000 |
commit | 47e2d75820ee02066a61e341034aace6d28063c1 (patch) | |
tree | d70498d786146b2e819ee680cc26ba8c90fd167e /epan/ftypes | |
parent | 17807a6b21c50a72e3bc11ddf0ff7bc2b313823a (diff) |
Move some code (including the optional objects) into libwsutil
svn path=/trunk/; revision=33012
Diffstat (limited to 'epan/ftypes')
-rw-r--r-- | epan/ftypes/ftype-time.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/ftypes/ftype-time.c b/epan/ftypes/ftype-time.c index fd81266722..b091c3bd23 100644 --- a/epan/ftypes/ftype-time.c +++ b/epan/ftypes/ftype-time.c @@ -42,7 +42,7 @@ #include <ftypes-int.h> #ifdef NEED_STRPTIME_H -#include "strptime.h" +#include "wsutil/strptime.h" #endif static gboolean @@ -175,14 +175,14 @@ relative_val_from_unparsed(fvalue_t *fv, char *s, gboolean allow_partial_value _ { char *curptr, *endptr; gboolean negative = FALSE; - + curptr = s; if(*curptr == '-') { negative = TRUE; curptr++; } - + /* * If it doesn't begin with ".", it should contain a seconds * value. @@ -313,7 +313,7 @@ value_get(fvalue_t *fv) { return &(fv->value.time); } - + static int absolute_val_repr_len(fvalue_t *fv, ftrepr_t rtype _U_) { @@ -331,7 +331,7 @@ absolute_val_to_repr(fvalue_t *fv, ftrepr_t rtype _U_, char *buf) abs_time_to_str(&fv->value.time, ABSOLUTE_TIME_LOCAL, rtype == FTREPR_DISPLAY)); } - + static int relative_val_repr_len(fvalue_t *fv, ftrepr_t rtype _U_) { |