aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/_types.h
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2004-06-14 15:37:49 +0000
committerBruce Evans <bde@FreeBSD.org>2004-06-14 15:37:49 +0000
commit22e9911e1dd02736f99adcdfd071ed206ebcd1a7 (patch)
treea84a2fbd5afdf9009838cf5b8637ec181cf2ef56 /sys/sys/_types.h
parent134896e1fcbf15002038bebb0266acfe1a9a4e28 (diff)
downloadsrc-22e9911e1dd02736f99adcdfd071ed206ebcd1a7.tar.gz
src-22e9911e1dd02736f99adcdfd071ed206ebcd1a7.zip
Fixed some style bugs:
- the comments on the rune/wide char types were lost - struct cdev was bogusly forward declared - some comments were excessively indented.
Notes
Notes: svn path=/head/; revision=130473
Diffstat (limited to 'sys/sys/_types.h')
-rw-r--r--sys/sys/_types.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/sys/sys/_types.h b/sys/sys/_types.h
index 10030acc4421..f233c7005e9d 100644
--- a/sys/sys/_types.h
+++ b/sys/sys/_types.h
@@ -75,22 +75,21 @@ typedef unsigned int __useconds_t; /* microseconds (unsigned) */
* wchar_t, and should be able to hold all members of the largest
* character set plus one extra value (WEOF), and must be at least 16 bits.
*/
-typedef int __ct_rune_t;
-typedef __ct_rune_t __rune_t;
-typedef __ct_rune_t __wchar_t;
-typedef __ct_rune_t __wint_t;
+typedef int __ct_rune_t; /* arg type for ctype funcs */
+typedef __ct_rune_t __rune_t; /* rune_t (see above) */
+typedef __ct_rune_t __wchar_t; /* wchar_t (see above) */
+typedef __ct_rune_t __wint_t; /* wint_t (see above) */
/*
* dev_t has differing meanings in userland and the kernel.
*/
#ifdef _KERNEL
-struct cdev;
typedef struct cdev *__dev_t;
#else
-typedef __udev_t __dev_t; /* device number */
+typedef __udev_t __dev_t; /* device number */
#endif
-typedef __uint32_t __fixpt_t; /* fixed point number */
+typedef __uint32_t __fixpt_t; /* fixed point number */
/*
* mbstate_t is an opaque object to keep conversion state during multibyte
@@ -98,7 +97,7 @@ typedef __uint32_t __fixpt_t; /* fixed point number */
*/
typedef union {
char __mbstate8[128];
- __int64_t _mbstateL; /* for alignment */
+ __int64_t _mbstateL; /* for alignment */
} __mbstate_t;
#endif /* !_SYS__TYPES_H_ */