Commit Graph

13 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
f7f1b818de Fix RCSID's
Use namespace.h
1997-07-13 19:12:05 +00:00
lukem
f694f3b120 Add stringlist implementation
Convert getnetgrent from private stringlist to public version
1997-01-17 07:26:18 +00:00
cgd
22eee680d6 ifdef YP, needs rpcsvc/ypclnt.h for protos 1996-12-20 20:46:19 +00:00
christos
b078384e49 - grab prototypes from netgroup.h
- added _ng_print, netgroup pretty printing function
1996-04-27 18:59:05 +00:00
cgd
2c4d3c4c4a clean up Id's on files previously imported... 1995-02-25 08:50:56 +00:00
jtc
3c98cdcd84 Rework indirect reference support as outlined by my recent message to
the tech-userlevel mailing list.
1994-12-12 22:41:50 +00:00
christos
cc23e692fb Return null for empty strings in triplets, not the empty string.
Fix memory corruption with double-freeing ng_copy. (From Jason Downs)
1994-12-12 19:05:31 +00:00
christos
9cc12a55d4 - Changed all internal libc references of {v,}err{x,} and {v,}warn{x,} to
__{v,}err{x,} and __{v,}warn{x,}
- moved err.c to __err.c and added err.c which contains weak references for
  the above functions.
- Reordered the functions in __err.c to avoid redeclarations and changed
  the varargs declarations to conform with the K&R style.
1994-12-11 20:43:48 +00:00
christos
4f0c59b986 New netgroup implementation; replaces Rick's old one that did not
expand recursively or handle YP.
1994-12-04 18:12:12 +00:00
cgd
a71924beb6 needs stdlib.h 1994-10-19 03:13:22 +00:00
mycroft
485773b00a Fix null pointer dereference, per Rolf Grossman. 1994-09-19 04:32:45 +00:00
mycroft
6bb037ec32 From 4.4-Lite. 1994-05-17 13:30:51 +00:00