aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tvbuff.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-04-24 21:53:05 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-04-24 21:53:05 +0000
commit377b23a07510fa764ab43976988d17af7f3504e2 (patch)
tree28f11dfa7bce80675d7d156dc6386188c4f061a8 /epan/tvbuff.h
parent855585bbcf6512fa0b74cef3dbc21eaab1ba887f (diff)
Use "gfloat" and "gdouble", rather than "float" and "double", as the
return types of the tvbuff accessors for floating-point types, to more closely match the tvbuff accessors for integral types. Fix an error in the code for fetching doubles on VAXes, and get rid of unused union members on VAXes. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5245 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/tvbuff.h')
-rw-r--r--epan/tvbuff.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/tvbuff.h b/epan/tvbuff.h
index 610ea545f5..8f419f9e2d 100644
--- a/epan/tvbuff.h
+++ b/epan/tvbuff.h
@@ -9,7 +9,7 @@
* the data of a backing tvbuff, or can be a composite of
* other tvbuffs.
*
- * $Id: tvbuff.h,v 1.24 2002/04/12 23:25:24 guy Exp $
+ * $Id: tvbuff.h,v 1.25 2002/04/24 21:53:05 guy Exp $
*
* Copyright (c) 2000 by Gilbert Ramirez <gram@alumni.rice.edu>
*
@@ -230,14 +230,14 @@ extern guint8 tvb_get_guint8(tvbuff_t*, gint offset);
extern guint16 tvb_get_ntohs(tvbuff_t*, gint offset);
extern guint32 tvb_get_ntoh24(tvbuff_t*, gint offset);
extern guint32 tvb_get_ntohl(tvbuff_t*, gint offset);
-extern float tvb_get_ntohieee_float(tvbuff_t*, gint offset);
-extern double tvb_get_ntohieee_double(tvbuff_t*, gint offset);
+extern gfloat tvb_get_ntohieee_float(tvbuff_t*, gint offset);
+extern gdouble tvb_get_ntohieee_double(tvbuff_t*, gint offset);
extern guint16 tvb_get_letohs(tvbuff_t*, gint offset);
extern guint32 tvb_get_letoh24(tvbuff_t*, gint offset);
extern guint32 tvb_get_letohl(tvbuff_t*, gint offset);
-extern float tvb_get_letohieee_float(tvbuff_t*, gint offset);
-extern double tvb_get_letohieee_double(tvbuff_t*, gint offset);
+extern gfloat tvb_get_letohieee_float(tvbuff_t*, gint offset);
+extern gdouble tvb_get_letohieee_double(tvbuff_t*, gint offset);
/* Returns target for convenience. Does not suffer from possible
* expense of tvb_get_ptr(), since this routine is smart enough