make it possible to compile new versions of db that load against
[unix-history] / usr / src / lib / libc / stdio / vsnprintf.c
index 8492da4..f69cd94 100644 (file)
@@ -1,6 +1,6 @@
 /*-
 /*-
- * Copyright (c) 1990 The Regents of the University of California.
- * All rights reserved.
+ * Copyright (c) 1990, 1993
+ *     The Regents of the University of California.  All rights reserved.
  *
  * This code is derived from software contributed to Berkeley by
  * Chris Torek.
  *
  * This code is derived from software contributed to Berkeley by
  * Chris Torek.
@@ -9,7 +9,7 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)vsnprintf.c        5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)vsnprintf.c        8.1 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #include <stdio.h>
 #endif /* LIBC_SCCS and not lint */
 
 #include <stdio.h>
@@ -17,8 +17,8 @@ static char sccsid[] = "@(#)vsnprintf.c       5.1 (Berkeley) %G%";
 vsnprintf(str, n, fmt, ap)
        char *str;
        size_t n;
 vsnprintf(str, n, fmt, ap)
        char *str;
        size_t n;
-       char *fmt;
-       _VA_LIST_ ap;
+       const char *fmt;
+       _BSD_VA_LIST_ ap;
 {
        int ret;
        FILE f;
 {
        int ret;
        FILE f;