diff options
author | brian <brian@cvs.openbsd.org> | 1997-12-24 09:30:54 +0000 |
---|---|---|
committer | brian <brian@cvs.openbsd.org> | 1997-12-24 09:30:54 +0000 |
commit | 680c56f9b0e96bdf2645460ef3e71d6ec165ad9a (patch) | |
tree | af433d7193d7f057336d40f4866f865a81daca1a /usr.sbin/ppp/slcompress.c | |
parent | ee509eb41ffd3386cd990df961c005dd18d3d418 (diff) |
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 391ea214cec..29a71658694 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.1 1997/11/23 20:27:36 brian Exp $ + * $Id: slcompress.c,v 1.2 1997/12/24 09:30:51 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]; |