can't reset it if not set up
[unix-history] / usr / src / old / dump.4.1 / l3tol.c
/*
* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
#ifndef lint
static char sccsid[] = "@(#)l3tol.c 5.1 (Berkeley) %G%";
#endif not lint
l3tol(lp, cp, n)
long *lp;
char *cp;
int n;
{
register i;
register char *a, *b;
a = (char *)lp;
b = cp;
for(i=0;i<n;i++) {
#ifdef interdata
*a++ = 0;
*a++ = *b++;
*a++ = *b++;
*a++ = *b++;
#else
*a++ = *b++;
*a++ = *b++;
*a++ = *b++;
*a++ = 0;
#endif
}
}