From 47e2d75820ee02066a61e341034aace6d28063c1 Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Fri, 28 May 2010 20:19:55 +0000 Subject: Move some code (including the optional objects) into libwsutil svn path=/trunk/; revision=33012 --- epan/ftypes/ftype-time.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'epan/ftypes') 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 #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_) { -- cgit v1.2.3