do not declare sprintf. On some systems it is an int, on others it is

a char *
This commit is contained in:
ceriel 1989-11-29 09:55:03 +00:00
parent 0e2861d8b0
commit 79b0bb3347
4 changed files with 0 additions and 24 deletions

View file

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

View file

@ -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

View file

@ -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

View file

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