History log of /src/lib/libc/compat-43/gethostid.c |
Revision | | Date | Author | Comments |
1.6 |
| 19-Apr-2004 |
atatat | The API to hostid that libc provides may involve a "long", but the interface the kernel provides to libc (and the rest of userland) is an "int". Therefore, stop pretending that it's a long, since that can incur bizarre failure modes if the types also don't have the same size (sparc64, alpha, etc).
|
1.5 |
| 07-Aug-2003 |
agc | branches: 1.5.2; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
|
1.4 |
| 26-May-2002 |
wiz | __STDC__ is always defined on NetBSD.
|
1.3 |
| 21-Jul-1997 |
jtc | branches: 1.3.14; If port provides __weak_alias(), provide an Standard C and POSIX pure identifier namespace by renaming non standard functions and variables such that they have a leading underscore. The library will use those names internally. Weak aliases are used to provide the original names to the API.
This is only the first part of this change. It is most of the functions which are implemented in C for all NetBSD ports. Subsequent changes are to add the same support to the remaining C files, to assembly files, and to the automagically generated assembly source used for system calls. When all of the above is done, ports with weak alias support should add a definition for __weak_alias to <sys/cdefs.h>.
|
1.2 |
| 13-Jul-1997 |
christos | Fix RCSID's Add missing unistd.h include
|
1.1 |
| 07-May-1994 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.1 |
| 07-May-1994 |
cgd | hostid functions
|
1.3.14.1 |
| 21-Jun-2002 |
nathanw | Catch up to -current.
|
1.5.2.1 |
| 21-Apr-2004 |
jmc | Pullup rev 1.6 (requested by atatat in ticket #162)
The API to hostid that libc provides may involve a "long", but the interface the kernel provides to libc (and the rest of userland) is an "int". Therefore, stop pretending that its a long, since that can incur bizarre failure modes if the types also dont have the same size (sparc64, alpha, etc).
|