Commit 23bbde18 authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

Define prototypes for strtognum, modfgnum, and gnumabs here when needed.

2002-02-21  Morten Welinder  <terra@diku.dk>

	* src/numbers.h: Define prototypes for strtognum, modfgnum, and
	gnumabs here when needed.
parent c9ba258d
2002-02-21 Morten Welinder <terra@diku.dk>
* src/numbers.h: Define prototypes for strtognum, modfgnum, and
gnumabs here when needed.
* src/workbook-control-gui.c (wbcg_validation_msg): Constify.
* src/cell.c (cell_is_zero): Use gnum_float.
......
2002-02-21 Morten Welinder <terra@diku.dk>
* src/numbers.h: Define prototypes for strtognum, modfgnum, and
gnumabs here when needed.
* src/workbook-control-gui.c (wbcg_validation_msg): Constify.
* src/cell.c (cell_is_zero): Use gnum_float.
......
2002-02-21 Morten Welinder <terra@diku.dk>
* src/numbers.h: Define prototypes for strtognum, modfgnum, and
gnumabs here when needed.
* src/workbook-control-gui.c (wbcg_validation_msg): Constify.
* src/cell.c (cell_is_zero): Use gnum_float.
......
......@@ -23,6 +23,7 @@
#include <gnumeric-config.h>
#include "gnumeric.h"
#include "numbers.h"
#include "format.h"
#include "style-color.h"
......
......@@ -16,6 +16,7 @@
#include <libgnome/gnome-i18n.h>
#include <libgnome/gnome-config.h>
#include <stdlib.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
......
......@@ -83,16 +83,4 @@ void gnumeric_set_le_double (void *p, double d);
char * gnumeric_strescape (const char *string);
#ifdef NEED_FAKE_MODFGNUM
gnum_float fake_modfl (gnum_float x, gnum_float *iptr);
#endif
#ifdef NEED_FAKE_GNUMABS
gnum_float gnumabs (gnum_float x);
#endif
#ifdef NEED_FAKE_STRTOGNUM
gnum_float strtognum (const char *str, char **end);
#endif
#endif /* GNUMERIC_UTILS_H */
......@@ -11,21 +11,24 @@ typedef long double gnum_float;
#define strtognum strtold
#else
#define NEED_FAKE_STRTOGNUM
/* Defined in gutils.h */
/* Defined in gutils.c */
gnum_float strtognum (const char *str, char **end);
#endif
#ifdef HAVE_MODFL
#define modfgnum modfl
#else
#define NEED_FAKE_MODFGNUM
/* Defined in gutils.h */
/* Defined in gutils.c */
gnum_float modfgnum (gnum_float x, gnum_float *iptr);
#endif
#ifdef HAVE_FABSL
#define gnumabs fabsl
#else
#define NEED_FAKE_GNUMABS
/* Defined in gutils.h */
/* Defined in gutils.c */
gnum_float gnumabs (gnum_float x);
#endif
#define GNUM_FORMAT_e "Le"
......
......@@ -20,8 +20,8 @@
*/
#include <gnumeric-config.h>
#include <string.h>
#include "gnumeric.h"
#include "numbers.h"
#include "validation.h"
#include "expr.h"
#include "mstyle.h"
......@@ -33,6 +33,7 @@
#include <libgnome/gnome-i18n.h>
#include <math.h>
#include <string.h>
/**
* validation_new :
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment