do not declare sprintf. On some systems it is an int, on others it is
a char *
This commit is contained in:
parent
8084852ab9
commit
e6d0e47e87
@ -12,12 +12,6 @@
|
||||
#include "comm1.h"
|
||||
#include "y.tab.h"
|
||||
|
||||
#ifndef __STDC__
|
||||
extern char *sprintf();
|
||||
#else
|
||||
/* sprintf should be declared in stdio.h, as returning an int */
|
||||
#endif
|
||||
|
||||
valu_t
|
||||
load(ip)
|
||||
register item_t *ip;
|
||||
|
||||
@ -19,12 +19,6 @@ static char rcsid[] = "$Header$";
|
||||
* Author: Hans van Staveren
|
||||
*/
|
||||
|
||||
#ifndef __STDC__
|
||||
extern char *sprintf();
|
||||
#else
|
||||
/* sprintf should be declared in stdio.h, as returning an int */
|
||||
#endif
|
||||
|
||||
#define LLEAF 01
|
||||
#define LDEF 02
|
||||
#define RLEAF 04
|
||||
|
||||
@ -29,12 +29,6 @@ static char rcsid2[] = "$Header$";
|
||||
* Author: Hans van Staveren
|
||||
*/
|
||||
|
||||
#ifndef __STDC__
|
||||
extern char *sprintf();
|
||||
#else
|
||||
/* sprintf should be declared in stdio.h, as returning an int */
|
||||
#endif
|
||||
|
||||
#ifndef newplb /* retrofit for older mach.h */
|
||||
#define newplb newilb
|
||||
#endif
|
||||
|
||||
@ -19,12 +19,6 @@ static char rcsid[] = "$Header$";
|
||||
* Author: Hans van Staveren
|
||||
*/
|
||||
|
||||
#ifndef __STDC__
|
||||
extern char *sprintf();
|
||||
#else
|
||||
/* sprintf should be declared in stdio.h, as returning an int */
|
||||
#endif
|
||||
|
||||
string mystrcpy();
|
||||
|
||||
FILE *codefile;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user