Commit Graph

11 Commits

Author SHA1 Message Date
agc eb7c1594f1 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
wiz 077b67effa __STDC__ is always defined on NetBSD. 2002-05-26 14:03:19 +00:00
tv 9fbd88883c Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
  sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.
2002-01-31 22:43:33 +00:00
tv a6d1338ee0 Fix previous to actually include config.h. 2002-01-28 23:01:43 +00:00
tv 12b9020c07 Make compilable from src/tools/compat. 2002-01-28 22:39:07 +00:00
cgd 6b25d77513 convert from __progname to getprogname() 2001-02-19 22:22:16 +00:00
martin 7c10055175 Be consistent with argument types vs. prototype; use _BSD_VA_LIST_ as
the argument, instead of va_list. Might not make a difference on most
ports, depending on toolchain/MD typedefs. Does make a difference on sparc64,
where it wouldn't compile otherwise.
2000-12-30 16:27:33 +00:00
mycroft af3e075076 Make some needed weak aliases. 1999-08-17 03:43:59 +00:00
thorpej 2d0f14c527 "Fix" the non-__indr_reference verions of the user-callable versions
of these functions.  This is somewhat of a kludge, but there is not
much else we can do for this case.

Because of how the callable versions are created, by CPP trickery
and inclusion of another .c file, we cannot allow the included .c
file to pull in "namespace.h", since it undoes the CPP trickery we
have performed.  Introduce a CPP macro that prevents the included .c
file from pulling in "namespace.h".
1997-07-17 21:33:14 +00:00
christos 3e24b5bccd Use "namespace.h"
Fix RCSID's
1997-07-13 19:43:28 +00:00
jtc ec081115f9 Split each function in err.c out into its own file. This is needed
for systems without weak or indirect references.
1996-04-15 23:44:53 +00:00