do not declare sprintf. On some systems it is an int, on others it is
a char *
This commit is contained in:
parent
0e2861d8b0
commit
79b0bb3347
4 changed files with 0 additions and 24 deletions
|
@ -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…
Reference in a new issue