summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2006-01-06 18:53:07 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2006-01-06 18:53:07 +0000
commit4f6f4abee953638d3409775c050227c9537c9e8c (patch)
tree38d3a984a5a051627704f25d9151930244be39c5 /lib/libc
parenta835e97a88caf4a2d77874683640dd0e6c0225d1 (diff)
Adapt things to use __type_t instead of _BSD_TYPE_T_
Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/vasprintf.c4
-rw-r--r--lib/libc/stdio/vfprintf.c4
-rw-r--r--lib/libc/stdio/vfscanf.c4
-rw-r--r--lib/libc/stdio/vprintf.c4
-rw-r--r--lib/libc/stdio/vscanf.c4
-rw-r--r--lib/libc/stdio/vsnprintf.c4
-rw-r--r--lib/libc/stdio/vsprintf.c4
-rw-r--r--lib/libc/stdio/vsscanf.c4
8 files changed, 16 insertions, 16 deletions
diff --git a/lib/libc/stdio/vasprintf.c b/lib/libc/stdio/vasprintf.c
index 7b56e507fbb..c3280c9fcd3 100644
--- a/lib/libc/stdio/vasprintf.c
+++ b/lib/libc/stdio/vasprintf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vasprintf.c,v 1.12 2005/10/10 12:00:52 espie Exp $ */
+/* $OpenBSD: vasprintf.c,v 1.13 2006/01/06 18:53:04 millert Exp $ */
/*
* Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -23,7 +23,7 @@
#include "local.h"
int
-vasprintf(char **str, const char *fmt, _BSD_VA_LIST_ ap)
+vasprintf(char **str, const char *fmt, __va_list ap)
{
int ret;
FILE f;
diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c
index 57893187c9a..84e80889049 100644
--- a/lib/libc/stdio/vfprintf.c
+++ b/lib/libc/stdio/vfprintf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfprintf.c,v 1.35 2005/12/19 19:43:01 millert Exp $ */
+/* $OpenBSD: vfprintf.c,v 1.36 2006/01/06 18:53:04 millert Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
@@ -150,7 +150,7 @@ static int exponent(char *, int, int);
#define CHARINT 0x800 /* 8 bit integer */
int
-vfprintf(FILE *fp, const char *fmt0, _BSD_VA_LIST_ ap)
+vfprintf(FILE *fp, const char *fmt0, __va_list ap)
{
char *fmt; /* format string */
int ch; /* character from fmt */
diff --git a/lib/libc/stdio/vfscanf.c b/lib/libc/stdio/vfscanf.c
index fa3815d59ee..731a892f41f 100644
--- a/lib/libc/stdio/vfscanf.c
+++ b/lib/libc/stdio/vfscanf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfscanf.c,v 1.17 2006/01/03 00:57:45 millert Exp $ */
+/* $OpenBSD: vfscanf.c,v 1.18 2006/01/06 18:53:04 millert Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -92,7 +92,7 @@ static u_char *__sccl(char *, u_char *);
* vfscanf
*/
int
-VFSCANF(FILE *fp, const char *fmt0, _BSD_VA_LIST_ ap)
+VFSCANF(FILE *fp, const char *fmt0, __va_list ap)
{
u_char *fmt = (u_char *)fmt0;
int c; /* character from format, or conversion */
diff --git a/lib/libc/stdio/vprintf.c b/lib/libc/stdio/vprintf.c
index 42e01eaf5f1..fcc622ca799 100644
--- a/lib/libc/stdio/vprintf.c
+++ b/lib/libc/stdio/vprintf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vprintf.c,v 1.7 2005/08/08 08:05:36 espie Exp $ */
+/* $OpenBSD: vprintf.c,v 1.8 2006/01/06 18:53:04 millert Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -34,7 +34,7 @@
#include <stdio.h>
int
-vprintf(const char *fmt, _BSD_VA_LIST_ ap)
+vprintf(const char *fmt, __va_list ap)
{
return (vfprintf(stdout, fmt, ap));
}
diff --git a/lib/libc/stdio/vscanf.c b/lib/libc/stdio/vscanf.c
index c14ed80b692..228498e75cc 100644
--- a/lib/libc/stdio/vscanf.c
+++ b/lib/libc/stdio/vscanf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vscanf.c,v 1.7 2005/08/08 08:05:36 espie Exp $ */
+/* $OpenBSD: vscanf.c,v 1.8 2006/01/06 18:53:04 millert Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -34,7 +34,7 @@
#include <stdio.h>
int
-vscanf(const char *fmt, _BSD_VA_LIST_ ap)
+vscanf(const char *fmt, __va_list ap)
{
return (vfscanf(stdin, fmt, ap));
diff --git a/lib/libc/stdio/vsnprintf.c b/lib/libc/stdio/vsnprintf.c
index 9064571c4d7..e6dd009d106 100644
--- a/lib/libc/stdio/vsnprintf.c
+++ b/lib/libc/stdio/vsnprintf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vsnprintf.c,v 1.11 2005/10/10 12:00:52 espie Exp $ */
+/* $OpenBSD: vsnprintf.c,v 1.12 2006/01/06 18:53:04 millert Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -37,7 +37,7 @@
#include "local.h"
int
-vsnprintf(char *str, size_t n, const char *fmt, _BSD_VA_LIST_ ap)
+vsnprintf(char *str, size_t n, const char *fmt, __va_list ap)
{
int ret;
char dummy;
diff --git a/lib/libc/stdio/vsprintf.c b/lib/libc/stdio/vsprintf.c
index 0e3be8d7427..67a53a1bd5d 100644
--- a/lib/libc/stdio/vsprintf.c
+++ b/lib/libc/stdio/vsprintf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vsprintf.c,v 1.12 2005/10/10 12:00:52 espie Exp $ */
+/* $OpenBSD: vsprintf.c,v 1.13 2006/01/06 18:53:04 millert Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -42,7 +42,7 @@ __warn_references(vsprintf,
#endif
int
-vsprintf(char *str, const char *fmt, _BSD_VA_LIST_ ap)
+vsprintf(char *str, const char *fmt, __va_list ap)
{
int ret;
FILE f;
diff --git a/lib/libc/stdio/vsscanf.c b/lib/libc/stdio/vsscanf.c
index 52b241751c7..47c1ae61d73 100644
--- a/lib/libc/stdio/vsscanf.c
+++ b/lib/libc/stdio/vsscanf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vsscanf.c,v 1.10 2005/08/08 08:05:36 espie Exp $ */
+/* $OpenBSD: vsscanf.c,v 1.11 2006/01/06 18:53:04 millert Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -44,7 +44,7 @@ eofread(void *cookie, char *buf, int len)
}
int
-vsscanf(const char *str, const char *fmt, _BSD_VA_LIST_ ap)
+vsscanf(const char *str, const char *fmt, __va_list ap)
{
FILE f;
struct __sfileext fext;