forked from Imagelibrary/rtems
2008-11-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* paranoia/paranoia.c: Add missing prototypes.
This commit is contained in:
@@ -153,10 +153,8 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(solaris2)
|
||||
#include <math.h>
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
|
||||
/*
|
||||
* To compile this on host using only libm from newlib (and using host libc)
|
||||
@@ -196,26 +194,29 @@ struct _reent *_impure_ptr = &libm_reent;
|
||||
#endif /* SINGLE_PRECISION */
|
||||
|
||||
jmp_buf ovfl_buf;
|
||||
extern double fabs (), floor (), log (), pow (), sqrt ();
|
||||
extern void exit ();
|
||||
typedef void (*Sig_type) ();
|
||||
FLOAT Sign (), Random ();
|
||||
extern void BadCond ();
|
||||
extern void SqXMinX ();
|
||||
extern void TstCond ();
|
||||
extern void notify ();
|
||||
/* extern double fabs (), floor (), log (), pow (), sqrt (); */
|
||||
/* extern void exit (); */
|
||||
extern void _sigfpe(int);
|
||||
typedef void (*Sig_type) (int);
|
||||
FLOAT Sign (FLOAT), Random (void);
|
||||
extern void BadCond (int, char*);
|
||||
extern void SqXMinX (int);
|
||||
extern void TstCond (int, int, char*);
|
||||
extern void notify (char *);
|
||||
/* extern int read (); */
|
||||
extern void Characteristics ();
|
||||
extern void Heading ();
|
||||
extern void History ();
|
||||
extern void Instructions ();
|
||||
extern void IsYeqX ();
|
||||
extern void NewD ();
|
||||
extern void Pause ();
|
||||
extern void PrintIfNPositive ();
|
||||
extern void SR3750 ();
|
||||
extern void SR3980 ();
|
||||
extern void TstPtUf ();
|
||||
extern void Characteristics (void);
|
||||
extern void Heading (void);
|
||||
extern void History (void);
|
||||
extern void Instructions (void);
|
||||
extern void IsYeqX (void);
|
||||
extern void NewD (void);
|
||||
extern void Pause (void);
|
||||
extern void PrintIfNPositive (void);
|
||||
extern void SR3750 (void);
|
||||
extern void SR3980 (void);
|
||||
extern void TstPtUf (void);
|
||||
|
||||
void msglist(char**);
|
||||
|
||||
Sig_type sigsave;
|
||||
|
||||
@@ -340,6 +341,7 @@ int x;
|
||||
|
||||
#ifdef NOMAIN
|
||||
#define main paranoia
|
||||
int paranoia(int, char**);
|
||||
#endif
|
||||
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user