diff options
author | brian <brian@FreeBSD.org> | 1997-12-24 09:29:17 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-12-24 09:29:17 +0000 |
commit | 14d342e696e1f58935e230c2b5bda26daa36cda0 (patch) | |
tree | 73e0e9a6ac1b2542326d644b2e9f7611a6f6a810 /usr.sbin/ppp/slcompress.c | |
parent | e2cdbfbbb2fff725814c29bd10d948ba15f8240e (diff) | |
download | FreeBSD-src-14d342e696e1f58935e230c2b5bda26daa36cda0.zip FreeBSD-src-14d342e696e1f58935e230c2b5bda26daa36cda0.tar.gz |
Cosmetic (style):
sizeof(var) -> sizeof var
sizeof type -> sizeof(type)
Suggested by: J Wunsch <j@uriah.heep.sax.de>
Diffstat (limited to 'usr.sbin/ppp/slcompress.c')
-rw-r--r-- | usr.sbin/ppp/slcompress.c | 4 |
1 files changed, 2 insertions, 2 deletions
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]; |