| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Largely obtained from: netbsd
Submitted by: jake, tmm
|
|
|
|
|
|
|
|
| |
No functional changes from rev. 1.31.
Reviewed by: ru
Approved by: ru
MFC after: 1 week
|
| |
|
|
|
|
| |
back out last commit to un-break world.
|
|
|
|
|
|
|
| |
sometimes causes fewer directories to be searched for includes. Thus
we have to be more explicit in our search list.
Pointy at to: GCC 3.1
|
|
|
|
|
|
| |
PR: bin/25059
Approved by: jdp
MFC after: 3 weeks
|
| |
|
| |
|
|
|
|
| |
(and dcc the committer a dictionary)
|
|
|
|
|
|
| |
it was inelegant and neglected to check the return value from malloc(3).
Sponsored by: DARPA, NAI Labs
|
|
|
|
|
|
| |
<sys/stat.h> for its prerequisite <sys/time.h>.
Removed a duplicated include. Sorted includes.
|
|
|
|
|
|
|
| |
namespace pollution only 1 layer deep in <sys/stat.h> for its
prerequisite <sys/time.h>
Removed other unused includes.
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
| |
Submitted by: Andre Albsmeier <andre@albsmeier.net>
Approved by: julian
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
deprecated in favor of the POSIX-defined lowercase variants.
o Change all occurrences of NTOHL() and associated marcros in the
source tree to use the lowercase function variants.
o Add missing license bits to sparc64's <machine/endian.h>.
Approved by: jake
o Clean up <machine/endian.h> files.
o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>.
o Remove prototypes for non-existent bswapXX() functions.
o Include <machine/endian.h> in <arpa/inet.h> to define the
POSIX-required ntohl() family of functions.
o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>,
and <sys/param.h>.
o Prepend underscores to the ntohl() family to help deal with
complexities associated with having MD (asm and inline) versions, and
having to prevent exposure of these functions in other headers that
happen to make use of endian-specific defines.
o Create weak aliases to the canonical function name to help deal with
third-party software forgetting to include an appropriate header.
o Remove some now unneeded pollution from <sys/types.h>.
o Add missing <arpa/inet.h> includes in userland.
Tested on: alpha, i386
Reviewed by: bde, jake, tmm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
produced by ld(8) (ie: that _DYNAMIC immediately follows the _GOT).
The new binutils import changed that, and the intial GOT relocation
broke. Use a custom linker script to provide a real end-of-GOT symbol.
Update ld.so to deal with the new (faster) PLT format that gcc-3.1 and
binutils can produce.
This is probably incomplete, but appears to be working again.
Obtained from: NetBSD
(And a fix to a silly mistake that I made by: gallatin)
|
| |
|
|
|
|
| |
o use Ansi-style function definitions
|
|
|
|
|
|
|
|
| |
non-empty string in the environment; we indicate which objects caused
each object to be loaded.
PR: 30908
Submitted-by: Mike Meyer <mwm@mired.org>
|
|
|
|
|
|
|
|
| |
PR: bin/33770
Submitted by: Vladislav Shabanov <vs@rambler-co.ru>
Reviewed by: ru
Approved by: ru
MFC after: 1 month
|
|
|
|
|
| |
o register removal
o use new style prototypes and function definitions
|
|
|
|
|
| |
o use new style prototypes and function definitions
o signal handlers need an argument. Mark it unused.
|
|
|
|
| |
o s/err/error/ in a couple places to avoid shadowing warnings
|
|
|
|
|
| |
o new style definitions/declarations
o declare null_conv static and its arguments __unused
|
|
|
|
|
|
|
| |
o Use new-style prototypes and function definitions.
o Fix timeout and justquit to have proper signatures for signal
handlers. Mark the args as __unused.
o remove register
|
|
|
|
| |
o Use new prototypes and function definitions only.
|
|
|
|
|
| |
o Use proper prototypes
o remove register
|
|
|
|
|
| |
names of variables that shadow globally declared variables. This should
help people doing later WARNS= fixes.
|
|
|
|
|
| |
o remove register
o use strict prototypes
|
|
|
|
| |
Sponsored by: DARPA, NAI Labs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ansification and constification:
s{\s+__P\((\(.*?\))\)}{$1}g;
s{\(\s+}{\(}g;
s{\s+\)}{\)}g;
s{\s+,}{,}g;
s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g;
s{return ([^\(].*?);}{return ($1);}g;
s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g;
s{\s+$}{\n};g
Also add $FreeBSD$ where needed.
MFC after: 1 week
|
|
|
|
| |
Reported by: jhay
|
| |
|
|
|
|
|
|
|
|
| |
o Use new-style prototypes exclusively rather than the old foo() style.
o Use new-style function definitions.
o remove register
o make functions passed to signal have the right signature.
o do minor const poisoning.
|
|
|
|
|
|
|
|
|
|
|
| |
signal handlers. In this case, use _exit(2) instead, following
the call to shutdown(2).
This fixes rare telnetd hangs.
PR: misc/33672
Submitted by: Umesh Krishnaswamy <umesh@juniper.net>
MFC after: 1 month
|
| |
|
|
|
|
| |
are not yet warning-clean. Tested on i386 and alpha.
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
| |
some code changes to fix but should be possible.
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
(get_errmsg -> get_errmsg())
|
| |
|
|
|
|
|
|
| |
o Use new-style function definitions
o remove some !__STDC__ code
o eliminate register
|
|
|
|
|
|
|
|
|
|
|
|
| |
handlers to set flags only (with exception for sigquit(),
which still seems to call some non-reentrant functions on
its way to _exit(2).) That must eliminate the possibility
of catching SIGSEGV from following non-reentrant paths from
signal handlers.
PR: bin/32740 bin/33846
Submitted by: Maxim Konovalov <maxim@macomnet.ru>
Obtained from: OpenBSD
|
|
|
|
|
|
| |
Reported by: matusita
Reviewed by: matusita
MFC after: 1 week
|
|
|
|
|
|
|
| |
all others.
PR: bin/28191
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and sbrk's prototype from char *sbrk(int) to void *sbrk(intptr_t).
This makes us more consistant with NetBSD and standards which include
these functions. Bruce pointed out that ptrdiff_t would probably
have been better than intptr_t, but this doesn't match other
implimentations.
Also remove local declarations of sbrk and unnecessary casting.
PR: 32296
Tested by: Harti Brandt <brandt@fokus.gmd.de>
MFC after: 1 month
|
| |
|
|
|
|
| |
twentyfour hours ago, except for RCS ids.
|
| |
|