| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
struct __sigset to avoid depending on objects from <sys/signal.h>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
under way to move the remnants of the a.out toolchain to ports. As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL. It has already lasted WAY beyond
that.
Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.
Tested on: i386 (extensively), alpha
|
|
|
|
|
| |
architectures, move the definition directly into <time.h> and finish
the removal of <machine/ansi.h>.
|
|
|
|
|
|
|
| |
preemptive strike and change _BSD_CLK_TCK_ and _BSD_CLOCKS_PER_SEC_
to 128.
Approved by: benno
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These types are unlikely to ever become very MD. They include:
clockid_t, ct_rune_t, fflags_t, intrmask_t, mbstate_t, off_t, pid_t,
rune_t, socklen_t, timer_t, wchar_t, and wint_t.
While moving them, make a few adjustments (submitted by bde):
o __ct_rune_t needs to be precisely `int', not necessarily __int32_t,
since the arg type of the ctype functions is int.
o __rune_t, __wchar_t and __wint_t inherit this via a typedef of
__ct_rune_t.
o Some minor wording changes in the comment blocks for ct_rune_t and
mbstate_t.
Submitted by: bde (partially)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
called <machine/_types.h>.
o <machine/ansi.h> will continue to live so it can define MD clock
macros, which are only MD because of gratuitous differences between
architectures.
o Change all headers to make use of this. This mainly involves
changing:
#ifdef _BSD_FOO_T_
typedef _BSD_FOO_T_ foo_t;
#undef _BSD_FOO_T_
#endif
to:
#ifndef _FOO_T_DECLARED
typedef __foo_t foo_t;
#define _FOO_T_DECLARED
#endif
Concept by: bde
Reviewed by: jake, obrien
|
|
|
|
|
|
|
|
|
| |
<stdint.h>. Previously, parts were defined in <machine/ansi.h> and
<machine/limits.h>. This resulted in two problems:
(1) Defining macros in <machine/ansi.h> gets in the way of that
header only defining types.
(2) Defining C99 limits in <machine/limits.h> adds pollution to
<limits.h>.
|
|
|
|
|
|
| |
FreeBSD.
Submitted by: bde
|
| |
|
|
|
|
|
|
| |
hardly MD, since all our platforms share the same macro. It's not
really compiler dependent either, but this helps in reducing
<machine/ansi.h> to only type definitions.
|
|
|
|
|
|
| |
overflows with the large file sizes that UFS2 permits.
Reviewed by: dillon, alc, tegge
|
|
|
|
| |
It can all still be overridden in the MD files should need suddenly arise.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
So craft the proper versions of these and commit em.
|
|
|
|
| |
in <machine/ansi.h> and that are required by <sys/stdint.h>.
|
|
|
|
|
| |
(copied from src/sys/i386/include/types.h rev 1.23, except for the label_t
size, which is '10' everywhere BUT on i386)
|
|
|
|
| |
(taken from i386/include/limits.h rev 1.19)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Hide nonstandard functions and types in <netinet/in.h> when
_POSIX_SOURCE is defined.
o Add some missing types (required by POSIX.1-200x) to <netinet/in.h>.
o Restore vendor ID from Rev 1.1 in <netinet/in.h> and make use of new
__FBSDID() macro.
o Fix some miscellaneous issues in <arpa/inet.h>.
o Correct final argument for the inet_ntop() function (POSIX.1-200x).
o Get rid of the namespace pollution from <sys/types.h> in
<arpa/inet.h>.
Reviewed by: fenner
Partially submitted by: bde
|
|
|
|
| |
Pointed out by: bde
|
|
|
|
| |
Reviewed by: ru
|
|
|
|
| |
Bad fingers, no cookie.
|
| |
|
|
|
|
|
|
|
| |
tunable.
Reviewed by: peter
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Unify <machine/endian.h>'s across all architectures.
o Make bswapXX() functions use a different spelling of u_int16_t and
friends to reduce namespace pollution. The bswapXX() functions
don't actually exist, but we'll probably import these at some
point. Atleast one driver (if_de) depends on bswapXX() for big
endian cases.
o Deprecate byteorder(3) prototypes from <sys/types.h>, these are
now prototyped indirectly in <arpa/inet.h>.
o Deprecate in_addr_t and in_port_t typedefs in <sys/types.h>, these
are now typedef'd in <arpa/inet.h>.
o Change byteorder(3) prototypes to use standards compliant uint32_t
(spelled __uint32_t to reduce namespace pollution).
o Document new preferred headers and standards compliance.
Discussed with: bde
PR: 29946
Reviewed by: bmilekic
|
|
|
|
|
|
|
| |
Add 0-9 to the list of possible kernel names at matsushita-san's
suggestion.
Submitted by: Makoto MATSUSHITA-san <matusita@jp.FreeBSD.org>
|
| |
|
|
|
|
| |
Reviewed by: arch, imp, peter, and the USENIX terminal room secret kernel cabal
|
| |
|
|
|
|
|
|
|
| |
flag errors where programmers assume time_t is a long, which it is not on
64-bit platforms.
Submitted by: bde
|
|
|
|
|
|
| |
Embellish some comments, fix tab'ing.
Requested by: bde
|
|
|
|
| |
Follow NetBSD's lead and add a _BSD_MBSTATE_T_ type.
|
|
|
|
|
|
| |
Ensure every platform has __offsetof.
Make multiple inclusion detection consistent with other
<platform>/include/*.h files.
|
|
|
|
| |
i386/include/ansi.h.
|
|
|
|
| |
Reviewed by: itojun
|
|
|
|
|
|
|
| |
Some things needed bits of <i386/include/lock.h> - cy.c now has its
own (only) copy of the COM_(UN)LOCK() macros, and IMASK_(UN)LOCK()
has been moved to <i386/include/apic.h> (AKA <machine/apic.h>).
Reviewed by: jhb
|
| |
|
| |
|
|
|