Fix compiler warning messages

This commit is contained in:
Marty Kraimer
1997-04-30 19:12:25 +00:00
parent 42adbd20c8
commit 437142b5bb
5 changed files with 21 additions and 35 deletions
+4 -9
View File
@@ -101,13 +101,11 @@
*/
#ifdef vxWorks
# include <vxWorks.h>
/*# include <varargs.h>*/
# include <fioLib.h>
#else
# include <stdio.h>
#include <vxWorks.h>
#endif
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "dbDefs.h"
#include "post.h"
@@ -123,10 +121,7 @@ static double local_random();
#define PI 3.141592654
#endif
long calcPerform(parg,presult,post)
double *parg;
double *presult;
char *post;
long calcPerform( double *parg, double *presult, char *post)
{
double *pstacktop; /* stack of values */
double stack[80];
+3 -8
View File
@@ -91,12 +91,10 @@
#ifdef vxWorks
#include <vxWorks.h>
/*#include <varargs.h>*/
#include <fioLib.h>
#else
#include <stdio.h>
#endif
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "dbDefs.h"
#include "post.h"
@@ -302,10 +300,7 @@ register short *pno_bytes;
*
* convert an infix expression to a postfix expression
*/
long postfix(pinfix,ppostfix,perror)
register char *pinfix;
register char *ppostfix;
short *perror;
long postfix(char *pinfix,char *ppostfix,short *perror)
{
short no_bytes;
register short operand_needed;
+4 -9
View File
@@ -101,13 +101,11 @@
*/
#ifdef vxWorks
# include <vxWorks.h>
/*# include <varargs.h>*/
# include <fioLib.h>
#else
# include <stdio.h>
#include <vxWorks.h>
#endif
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "dbDefs.h"
#include "post.h"
@@ -123,10 +121,7 @@ static double local_random();
#define PI 3.141592654
#endif
long calcPerform(parg,presult,post)
double *parg;
double *presult;
char *post;
long calcPerform( double *parg, double *presult, char *post)
{
double *pstacktop; /* stack of values */
double stack[80];
+3 -8
View File
@@ -91,12 +91,10 @@
#ifdef vxWorks
#include <vxWorks.h>
/*#include <varargs.h>*/
#include <fioLib.h>
#else
#include <stdio.h>
#endif
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "dbDefs.h"
#include "post.h"
@@ -302,10 +300,7 @@ register short *pno_bytes;
*
* convert an infix expression to a postfix expression
*/
long postfix(pinfix,ppostfix,perror)
register char *pinfix;
register char *ppostfix;
short *perror;
long postfix(char *pinfix,char *ppostfix,short *perror)
{
short no_bytes;
register short operand_needed;