Commit Graph

24 Commits

Author SHA1 Message Date
mycroft 605490369c Delint.
Remove trailing ; from uses of __weak_alias().  The macro inserts this if
needed.
2000-01-22 22:19:07 +00:00
lukem d896261208 back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
1999-09-20 04:38:56 +00:00
kleink 279f31c6ee Partially revert previous change: the assertions made in utility functions
defined with file scope only are redundant, and will never fail.
1999-09-17 09:25:34 +00:00
sommerfeld 5aeebf1cf3 Resynch with libkern 1999-09-16 17:08:04 +00:00
lukem b48252f365 * use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
  and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

		_DIAGASSERT(path != NULL)
	#ifdef _DIAGNOSTIC
		if (path == NULL) {
			errno = EFAULT;
			return (-1);
		}
	#endif
1999-09-16 11:44:54 +00:00
drochner 1cb2c0358e don't __weak_alias for _STANDALONE code 1999-09-10 12:48:43 +00:00
enami d8ad2663a8 In name section, use .Dq macro rather than writing double quote directly. 1999-08-17 03:36:35 +00:00
christos 69caa9c953 Mark const castaways for lint. 1999-05-03 15:01:50 +00:00
garbled 38c96853cf Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Wheee!
1999-03-22 19:44:33 +00:00
drochner a34eb7c1b7 use ${ARCHDIR} instead of ${.CURDIR}/arch/${MACHINE_ARCH} where appropriate
libc builds on pmax again
1999-02-24 15:05:20 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
explorer 10f0331930 sync with libkern. Again. 1999-02-09 00:54:31 +00:00
explorer ee5b58d3f8 sync this with changes made in libkern. 1999-02-04 05:10:36 +00:00
christos 2c89343c25 delint 1998-11-13 15:46:52 +00:00
kleink 1070537dd5 Need internal names for MD[45]{Init,Final,Update}(). 1998-10-20 17:04:45 +00:00
perry a843f0f8a5 bzero->memset, bcopy->memcpy, bcmp->memcmp 1998-08-10 02:43:08 +00:00
mycroft 423c2aade7 constify some tables. 1998-07-26 11:38:24 +00:00
cgd 372e996fc3 when deciding whether to use standard system include files or libkern.h,
check _STANDALONE as well as _KERNEL.  _KERNEL is incorrect for use when
building boot blocks, and it looks like the rest of the code is already
using _STANDALONE for this purpose.
1998-03-26 23:53:36 +00:00
perry 312aca536f add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
mycroft cc4a1553a1 Eliminate bogus redefinitions of standard targets. 1997-05-09 07:50:03 +00:00
thorpej 30e6b470fc - Liberal application of suggestions in /usr/share/misc/style.
- Don't use sed(1) to generate these files.  The C preprocessor
  is your friend.
1997-04-30 00:40:44 +00:00
thorpej 754137acc9 - Liberal application of suggestions in /usr/share/misc/style.
- Make this compile in the kernel environment.
1997-04-30 00:37:17 +00:00
thorpej 3fd6710857 Liberal application of suggestions in /usr/share/misc/style. 1997-04-30 00:36:22 +00:00
thorpej e176fc8fc9 Add MD4/MD5 routines to the C library, taken directly from FreeBSD's
"libmd".
1997-01-30 01:01:39 +00:00