Whitespace formatting changes: line up macro bodies, function names,
place tabs after #define and typedef. Sort typedefs by name. Requested by: mike
This commit is contained in:
parent
71a63bac1b
commit
9a1a792488
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101409
@ -73,33 +73,33 @@
|
||||
#define NULL 0
|
||||
#endif
|
||||
|
||||
#ifndef __cplusplus
|
||||
#ifdef _BSD_WCHAR_T_
|
||||
typedef _BSD_WCHAR_T_ wchar_t;
|
||||
#undef _BSD_WCHAR_T_
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef _BSD_MBSTATE_T_
|
||||
typedef _BSD_MBSTATE_T_ mbstate_t;
|
||||
#undef _BSD_MBSTATE_T_
|
||||
#endif
|
||||
|
||||
#ifdef _BSD_WINT_T_
|
||||
typedef _BSD_WINT_T_ wint_t;
|
||||
#undef _BSD_WINT_T_
|
||||
#endif
|
||||
|
||||
#ifdef _BSD_SIZE_T_
|
||||
typedef _BSD_SIZE_T_ size_t;
|
||||
#undef _BSD_SIZE_T_
|
||||
#endif
|
||||
|
||||
#ifndef __cplusplus
|
||||
#ifdef _BSD_WCHAR_T_
|
||||
typedef _BSD_WCHAR_T_ wchar_t;
|
||||
#undef _BSD_WCHAR_T_
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef _WCTYPE_T
|
||||
typedef unsigned long wctype_t;
|
||||
#define _WCTYPE_T
|
||||
#endif
|
||||
|
||||
#ifdef _BSD_WINT_T_
|
||||
typedef _BSD_WINT_T_ wint_t;
|
||||
#undef _BSD_WINT_T_
|
||||
#endif
|
||||
|
||||
#ifndef WEOF
|
||||
#define WEOF ((wint_t)-1)
|
||||
#endif
|
||||
|
@ -36,11 +36,6 @@
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
#ifdef _BSD_WINT_T_
|
||||
typedef _BSD_WINT_T_ wint_t;
|
||||
#undef _BSD_WINT_T_
|
||||
#endif
|
||||
|
||||
#ifndef _WCTRANS_T
|
||||
typedef int wctrans_t;
|
||||
#define _WCTRANS_T
|
||||
@ -51,6 +46,11 @@ typedef unsigned long wctype_t;
|
||||
#define _WCTYPE_T
|
||||
#endif
|
||||
|
||||
#ifdef _BSD_WINT_T_
|
||||
typedef _BSD_WINT_T_ wint_t;
|
||||
#undef _BSD_WINT_T_
|
||||
#endif
|
||||
|
||||
#ifndef WEOF
|
||||
#define WEOF ((wint_t)-1)
|
||||
#endif
|
||||
@ -72,8 +72,10 @@ int iswxdigit(wint_t);
|
||||
wint_t towctrans(wint_t, wctrans_t);
|
||||
wint_t towlower(wint_t);
|
||||
wint_t towupper(wint_t);
|
||||
wctrans_t wctrans(const char *);
|
||||
wctype_t wctype(const char *);
|
||||
wctrans_t
|
||||
wctrans(const char *);
|
||||
wctype_t
|
||||
wctype(const char *);
|
||||
|
||||
#if __BSD_VISIBLE
|
||||
wint_t iswascii(wint_t);
|
||||
|
Loading…
Reference in New Issue
Block a user