#include "comm1.h"
#include "y.tab.h"
-extern char *sprintf();
+#ifndef __STDC__
+extern char *sprintf();
+#else
+/* sprintf should be declared in stdio.h, as returning an int */
+#endif
valu_t
load(ip)
* Author: Hans van Staveren
*/
-extern char *sprintf();
+#ifndef __STDC__
+extern char *sprintf();
+#else
+/* sprintf should be declared in stdio.h, as returning an int */
+#endif
#define LLEAF 01
#define LDEF 02
* Author: Hans van Staveren
*/
-extern char *sprintf();
+#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
* Author: Hans van Staveren
*/
-extern char *sprintf();
+#ifndef __STDC__
+extern char *sprintf();
+#else
+/* sprintf should be declared in stdio.h, as returning an int */
+#endif
string mystrcpy();
#include "booth.h"
-char *strncpy(), *strcpy(), *sprintf();
+extern char *strncpy(), *strcpy();
+#ifndef __STDC__
+extern char *sprintf();
+#else
+/* sprintf should be declared in stdio.h, as returning an int */
+#endif
char * myalloc(n) {
register char *p;