do not declare sprintf. On some systems it is an int, on others it is
authorceriel <none@none>
Wed, 29 Nov 1989 09:55:03 +0000 (09:55 +0000)
committerceriel <none@none>
Wed, 29 Nov 1989 09:55:03 +0000 (09:55 +0000)
a char *

mach/proto/as/comm7.c
mach/proto/ncg/compute.c
mach/proto/ncg/fillem.c
mach/proto/ncg/gencode.c

index 492a244..da2ef29 100644 (file)
 #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;
index 1d66c74..60ff090 100644 (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
index 9935000..9b9d898 100644 (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
index 12cf181..c33f492 100644 (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;