Added lintlib

This commit is contained in:
ceriel
1987-05-18 13:49:59 +00:00
parent 869e3bdc9a
commit e938380cb8
5 changed files with 18 additions and 11 deletions

View File

@@ -6,7 +6,6 @@
/* clear - clear a block of memory, and try to do it fast.
*/
#include <assert.h>
#include "in_all.h"
/* instead of Calloc: */
@@ -17,7 +16,6 @@ clear(ptr, n)
{
register long *q = (long *) ptr;
assert((long)q % sizeof (long) == 0);
while (n >= sizeof (long)) {
/* high-speed clear loop */
*q++ = 0;