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

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];

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;

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];

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;

View File

@@ -1,5 +1,8 @@
/* $Id$
* $Log$
* Revision 1.6 1995/02/13 16:46:04 jba
* Removed date from epicsRelease.
*
* Revision 1.5 1994/10/05 18:28:17 jba
* Renamed version.h to epicsVersion.h
*
@@ -16,11 +19,14 @@
* Initial version.
**/
#include <stdlib.h>
#include <stdio.h>
#include <epicsVersion.h>
char *epicsRelease= "@(#)EPICS IOC CORE";
char *epicsRelease1 = epicsReleaseVersion;
coreRelease()
int coreRelease()
{
printf("############################################################################\n### %s\n### %s\n############################################################################\n", epicsRelease, epicsRelease1);
return(0);
}