diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/locale/runetype.c | 2 | ||||
-rw-r--r-- | lib/libc/locale/tolower.c | 4 | ||||
-rw-r--r-- | lib/libc/locale/toupper.c | 4 | ||||
-rw-r--r-- | lib/libc/stdio/local.h | 2 | ||||
-rw-r--r-- | lib/libc/stdio/vasprintf.c | 2 | ||||
-rw-r--r-- | lib/libc/stdio/vprintf.c | 2 | ||||
-rw-r--r-- | lib/libc/stdio/vscanf.c | 2 | ||||
-rw-r--r-- | lib/libc/stdio/vsnprintf.c | 2 | ||||
-rw-r--r-- | lib/libc/stdio/vsprintf.c | 2 | ||||
-rw-r--r-- | lib/libc/stdio/vsscanf.c | 2 | ||||
-rw-r--r-- | lib/libdevinfo/devinfo.h | 2 | ||||
-rw-r--r-- | lib/libkvm/kvm.h | 14 | ||||
-rw-r--r-- | lib/libncurses/Makefile | 4 | ||||
-rw-r--r-- | lib/libstand/stand.h | 4 | ||||
-rw-r--r-- | lib/ncurses/ncurses/Makefile | 4 |
15 files changed, 26 insertions, 26 deletions
diff --git a/lib/libc/locale/runetype.c b/lib/libc/locale/runetype.c index a2ee9e6..ec1c2ec 100644 --- a/lib/libc/locale/runetype.c +++ b/lib/libc/locale/runetype.c @@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$"); unsigned long ___runetype(c) - _BSD_CT_RUNE_T_ c; + __ct_rune_t c; { int x; _RuneRange *rr = &_CurrentRuneLocale->runetype_ext; diff --git a/lib/libc/locale/tolower.c b/lib/libc/locale/tolower.c index 42392d7..f8caecb 100644 --- a/lib/libc/locale/tolower.c +++ b/lib/libc/locale/tolower.c @@ -40,9 +40,9 @@ __FBSDID("$FreeBSD$"); #include <stdio.h> #include <rune.h> -_BSD_CT_RUNE_T_ +__ct_rune_t ___tolower(c) - _BSD_CT_RUNE_T_ c; + __ct_rune_t c; { int x; _RuneRange *rr = &_CurrentRuneLocale->maplower_ext; diff --git a/lib/libc/locale/toupper.c b/lib/libc/locale/toupper.c index 1871f8a..6ce6757 100644 --- a/lib/libc/locale/toupper.c +++ b/lib/libc/locale/toupper.c @@ -40,9 +40,9 @@ __FBSDID("$FreeBSD$"); #include <stdio.h> #include <rune.h> -_BSD_CT_RUNE_T_ +__ct_rune_t ___toupper(c) - _BSD_CT_RUNE_T_ c; + __ct_rune_t c; { int x; _RuneRange *rr = &_CurrentRuneLocale->mapupper_ext; diff --git a/lib/libc/stdio/local.h b/lib/libc/stdio/local.h index 4d8926a..bfa4aab 100644 --- a/lib/libc/stdio/local.h +++ b/lib/libc/stdio/local.h @@ -69,7 +69,7 @@ extern int _fwalk(int (*)(FILE *)); extern int __swsetup(FILE *); extern int __sflags(const char *, int *); extern int __ungetc(int, FILE *); -extern int __vfprintf(FILE *, const char *, _BSD_VA_LIST_); +extern int __vfprintf(FILE *, const char *, __va_list); extern int __sdidinit; diff --git a/lib/libc/stdio/vasprintf.c b/lib/libc/stdio/vasprintf.c index 9d55725..9e8efcf 100644 --- a/lib/libc/stdio/vasprintf.c +++ b/lib/libc/stdio/vasprintf.c @@ -39,7 +39,7 @@ int vasprintf(str, fmt, ap) char **str; const char *fmt; - _BSD_VA_LIST_ ap; + __va_list ap; { int ret; FILE f; diff --git a/lib/libc/stdio/vprintf.c b/lib/libc/stdio/vprintf.c index 1f293d6..253870c 100644 --- a/lib/libc/stdio/vprintf.c +++ b/lib/libc/stdio/vprintf.c @@ -43,7 +43,7 @@ __FBSDID("$FreeBSD$"); #include <stdio.h> int -vprintf(const char *__restrict fmt, _BSD_VA_LIST_ ap) +vprintf(const char *__restrict fmt, __va_list ap) { return (vfprintf(stdout, fmt, ap)); diff --git a/lib/libc/stdio/vscanf.c b/lib/libc/stdio/vscanf.c index beed0c2..92f55fc 100644 --- a/lib/libc/stdio/vscanf.c +++ b/lib/libc/stdio/vscanf.c @@ -48,7 +48,7 @@ __FBSDID("$FreeBSD$"); int vscanf(fmt, ap) const char *fmt; - _BSD_VA_LIST_ ap; + __va_list ap; { int retval; diff --git a/lib/libc/stdio/vsnprintf.c b/lib/libc/stdio/vsnprintf.c index eae9adc..7f18c83 100644 --- a/lib/libc/stdio/vsnprintf.c +++ b/lib/libc/stdio/vsnprintf.c @@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$"); int vsnprintf(char *__restrict str, size_t n, const char *__restrict fmt, - _BSD_VA_LIST_ ap) + __va_list ap) { size_t on; int ret; diff --git a/lib/libc/stdio/vsprintf.c b/lib/libc/stdio/vsprintf.c index b66b7c8..82e6297 100644 --- a/lib/libc/stdio/vsprintf.c +++ b/lib/libc/stdio/vsprintf.c @@ -45,7 +45,7 @@ __FBSDID("$FreeBSD$"); #include "local.h" int -vsprintf(char *__restrict str, const char *__restrict fmt, _BSD_VA_LIST_ ap) +vsprintf(char *__restrict str, const char *__restrict fmt, __va_list ap) { int ret; FILE f; diff --git a/lib/libc/stdio/vsscanf.c b/lib/libc/stdio/vsscanf.c index 58778f6..81a241c 100644 --- a/lib/libc/stdio/vsscanf.c +++ b/lib/libc/stdio/vsscanf.c @@ -62,7 +62,7 @@ int vsscanf(str, fmt, ap) const char *str; const char *fmt; - _BSD_VA_LIST_ ap; + __va_list ap; { FILE f; struct __sFILEX ext; diff --git a/lib/libdevinfo/devinfo.h b/lib/libdevinfo/devinfo.h index 3d978d3..63188aa 100644 --- a/lib/libdevinfo/devinfo.h +++ b/lib/libdevinfo/devinfo.h @@ -28,7 +28,7 @@ */ #include <sys/cdefs.h> -#include <machine/ansi.h> +#include <sys/_types.h> typedef __uintptr_t devinfo_handle_t; #define DEVINFO_ROOT_DEVICE ((devinfo_handle_t)0) diff --git a/lib/libkvm/kvm.h b/lib/libkvm/kvm.h index 9bf4975..034432e 100644 --- a/lib/libkvm/kvm.h +++ b/lib/libkvm/kvm.h @@ -38,21 +38,21 @@ #define _KVM_H_ #include <sys/cdefs.h> -#include <machine/ansi.h> +#include <sys/_types.h> #include <nlist.h> /* Default version symbol. */ #define VRS_SYM "_version" #define VRS_KEY "VERSION" -#ifdef _BSD_SIZE_T_ -typedef _BSD_SIZE_T_ size_t; -#undef _BSD_SIZE_T_ +#ifndef _SIZE_T_DECLARED +typedef __size_t size_t; +#define _SIZE_T_DECLARED #endif -#ifdef _BSD_SSIZE_T_ -typedef _BSD_SSIZE_T_ ssize_t; -#undef _BSD_SSIZE_T_ +#ifndef _SSIZE_T_DECLARED +typedef __ssize_t ssize_t; +#define _SSIZE_T_DECLARED #endif typedef struct __kvm kvm_t; diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile index 92611f6..f024b91 100644 --- a/lib/libncurses/Makefile +++ b/lib/libncurses/Makefile @@ -386,8 +386,8 @@ curses.head: curses.h.in -e "s%@cf_cv_type_of_bool@%${TYPE_OF_BOOL}%g" \ -e "s%@cf_cv_typeof_chtype@%${TYPEOF_CHTYPE}%g" \ -e "s%@cf_cv_widec_shift@%${WIDEC_SHIFT}%g" \ - -e "s/ _WCHAR_T/ _BSD_WCHAR_T_/g" \ - -e "s/ _WINT_T/ _BSD_WINT_T_/g" \ + -e "s/ _WCHAR_T/ __wchar_t/g" \ + -e "s/ _WINT_T/ __wint_t/g" \ unctrl.h: unctrl.h.in sed <${NCURSES}/include/$@.in >$@ \ diff --git a/lib/libstand/stand.h b/lib/libstand/stand.h index 44656df..40455fa 100644 --- a/lib/libstand/stand.h +++ b/lib/libstand/stand.h @@ -245,9 +245,9 @@ struct disklabel; extern char *getdisklabel(const char *, struct disklabel *); extern int printf(const char *fmt, ...) __printflike(1, 2); -extern void vprintf(const char *fmt, _BSD_VA_LIST_); +extern void vprintf(const char *fmt, __va_list); extern int sprintf(char *buf, const char *cfmt, ...) __printflike(2, 3); -extern void vsprintf(char *buf, const char *cfmt, _BSD_VA_LIST_); +extern void vsprintf(char *buf, const char *cfmt, __va_list); extern void twiddle(void); diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile index 92611f6..f024b91 100644 --- a/lib/ncurses/ncurses/Makefile +++ b/lib/ncurses/ncurses/Makefile @@ -386,8 +386,8 @@ curses.head: curses.h.in -e "s%@cf_cv_type_of_bool@%${TYPE_OF_BOOL}%g" \ -e "s%@cf_cv_typeof_chtype@%${TYPEOF_CHTYPE}%g" \ -e "s%@cf_cv_widec_shift@%${WIDEC_SHIFT}%g" \ - -e "s/ _WCHAR_T/ _BSD_WCHAR_T_/g" \ - -e "s/ _WINT_T/ _BSD_WINT_T_/g" \ + -e "s/ _WCHAR_T/ __wchar_t/g" \ + -e "s/ _WINT_T/ __wint_t/g" \ unctrl.h: unctrl.h.in sed <${NCURSES}/include/$@.in >$@ \ |