declare sprintf as extern for SUNs
authorKevin Dunlap <kjd@ucbvax.Berkeley.EDU>
Sat, 26 Oct 1985 08:20:26 +0000 (00:20 -0800)
committerKevin Dunlap <kjd@ucbvax.Berkeley.EDU>
Sat, 26 Oct 1985 08:20:26 +0000 (00:20 -0800)
SCCS-vsn: lib/libc/net/res_mkquery.c 5.6

usr/src/lib/libc/net/res_mkquery.c

index 3f2f662..8e47a57 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)res_mkquery.c      5.5 (Berkeley) %G%";
+static char sccsid[] = "@(#)res_mkquery.c      5.6 (Berkeley) %G%";
 #endif not lint
 
 #include <stdio.h>
 #endif not lint
 
 #include <stdio.h>
@@ -14,6 +14,8 @@ static char sccsid[] = "@(#)res_mkquery.c     5.5 (Berkeley) %G%";
 #include <arpa/nameser.h>
 #include <arpa/resolv.h>
 
 #include <arpa/nameser.h>
 #include <arpa/resolv.h>
 
+extern char *sprintf();
+
 /*
  * Form all types of queries.
  * Returns the size of the result or -1.
 /*
  * Form all types of queries.
  * Returns the size of the result or -1.