summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-10-19 20:07:46 +0000
committerru <ru@FreeBSD.org>2001-10-19 20:07:46 +0000
commit31c1fa83c58ecb18ee4ea4d56ed1139cc47a0c11 (patch)
treeb7c3e5a31cea364c95c6cae9c5ca21043767d05e /sys/i386
parent57b0ac62f39d16a8bd4d92ecad16ac34920ca8ae (diff)
downloadFreeBSD-src-31c1fa83c58ecb18ee4ea4d56ed1139cc47a0c11.zip
FreeBSD-src-31c1fa83c58ecb18ee4ea4d56ed1139cc47a0c11.tar.gz
Fix the typedef of va_list.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/include/stdarg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/i386/include/stdarg.h b/sys/i386/include/stdarg.h
index 341eb87..16ea520 100644
--- a/sys/i386/include/stdarg.h
+++ b/sys/i386/include/stdarg.h
@@ -37,7 +37,9 @@
#ifndef _STDARG_H_
#define _STDARG_H_
-typedef char *va_list;
+#include <machine/ansi.h>
+
+typedef _BSD_VA_LIST_ va_list;
#define __va_size(type) \
(((sizeof(type) + sizeof(int) - 1) / sizeof(int)) * sizeof(int))
OpenPOWER on IntegriCloud