From 14d342e696e1f58935e230c2b5bda26daa36cda0 Mon Sep 17 00:00:00 2001 From: brian Date: Wed, 24 Dec 1997 09:29:17 +0000 Subject: Cosmetic (style): sizeof(var) -> sizeof var sizeof type -> sizeof(type) Suggested by: J Wunsch --- usr.sbin/ppp/slcompress.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/ppp/slcompress.c') diff --git a/usr.sbin/ppp/slcompress.c b/usr.sbin/ppp/slcompress.c index 9953f34..1678531 100644 --- a/usr.sbin/ppp/slcompress.c +++ b/usr.sbin/ppp/slcompress.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: slcompress.c,v 1.13 1997/10/26 01:03:44 brian Exp $ + * $Id: slcompress.c,v 1.14 1997/11/22 03:37:50 brian Exp $ * * Van Jacobson (van@helios.ee.lbl.gov), Dec 31, 1989: * - Initial distribution. @@ -59,7 +59,7 @@ sl_compress_init(struct slcompress * comp, int max_state) register u_int i; register struct cstate *tstate = comp->tstate; - memset(comp, '\0', sizeof(*comp)); + memset(comp, '\0', sizeof *comp); for (i = max_state; i > 0; --i) { tstate[i].cs_id = i; tstate[i].cs_next = &tstate[i - 1]; -- cgit v1.1