Commit Graph

7 Commits

Author SHA1 Message Date
jtc 43fa6fe319 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>.
1997-07-21 14:06:24 +00:00
christos 8b1ce69490 Add missing unistd.h include
Fix RCSID's
1997-07-13 19:12:30 +00:00
cgd 2c4d3c4c4a clean up Id's on files previously imported... 1995-02-25 08:50:56 +00:00
mycroft 1ac05a7acc Fix oversight in last change. 1994-09-19 23:46:29 +00:00
mycroft 3270e71a99 Stylistic changes. 1994-09-18 04:32:35 +00:00
pk 9c216a1fb2 Cache pagesize. 1994-09-15 10:49:53 +00:00
cgd 060d0e3d1a various sysctl-related libc functions 1994-05-07 02:52:59 +00:00