Commit Graph

8 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
c63c52b238 Fix RCSID's
Fix gcc warnings.
Add missing prototypes
1997-07-13 20:13:02 +00:00
jtc
18ec2ba033 Add explict function return types 1996-03-29 23:00:47 +00:00
mycroft
5860921eda Fill in sin_len. 1995-06-03 22:37:19 +00:00
jtc
3c565bbea8 Changed bzero to memset.
Changed bcmp to memcmp.
Added #include <string.h> to bring prototypes into scope.
1995-04-14 19:48:20 +00:00
cgd
9e15c98955 save my sanity; stop using Id. 1995-02-25 03:01:33 +00:00
cgd
2e2a3a256a be much more careful with types, and add prototype everything. 1994-12-04 01:12:39 +00:00
cgd
63d7b6778b move the rpc code into libc 1993-10-07 07:29:33 +00:00