X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftv%2Ffltcalc.h;h=607e3d3d433d3d3350d103dbb95e4b252c02fca2;hb=b50ba7aa16edbf7d978c182d90b2e5f08c6f6a56;hp=294ef7844e4c5868fb823ab812d8721ee2dde8a9;hpb=aa4d0c76a2e006e9ba4d89f38701b07b8ec74991;p=libfirm diff --git a/ir/tv/fltcalc.h b/ir/tv/fltcalc.h index 294ef7844..607e3d3d4 100644 --- a/ir/tv/fltcalc.h +++ b/ir/tv/fltcalc.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2011 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -27,6 +27,7 @@ #ifndef FIRM_TV_FLTCALC_H #define FIRM_TV_FLTCALC_H +#include #include "firm_types.h" #ifdef HAVE_LONG_DOUBLE @@ -75,8 +76,8 @@ typedef struct ieee_descriptor_t { unsigned char clss; /**< state of this float */ } ieee_descriptor_t; -struct _fp_value; -typedef struct _fp_value fp_value; +struct fp_value; +typedef struct fp_value fp_value; /*@{*/ /** internal buffer access @@ -89,7 +90,7 @@ const void *fc_get_buffer(void); int fc_get_buffer_length(void); /*}@*/ -void *fc_val_from_str(const char *str, unsigned int len, const ieee_descriptor_t *desc, void *result); +void *fc_val_from_str(const char *str, size_t len, const ieee_descriptor_t *desc, void *result); /** get the representation of a floating point value * This function tries to builds a representation having the same value as the