aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/slcompress.c
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1997-12-24 09:29:17 +0000
committerBrian Somers <brian@FreeBSD.org>1997-12-24 09:29:17 +0000
commit70ee81ff6ba03e882c77fba9357f803c13982d31 (patch)
tree1634b1e1f6b1899192dae079bbf6eeccc9d4dbd5 /usr.sbin/ppp/slcompress.c
parentf9925914f1371e9814b482f32c58a43266f413a9 (diff)
downloadsrc-70ee81ff6ba03e882c77fba9357f803c13982d31.tar.gz
src-70ee81ff6ba03e882c77fba9357f803c13982d31.zip
Cosmetic (style):
sizeof(var) -> sizeof var sizeof type -> sizeof(type) Suggested by: J Wunsch <j@uriah.heep.sax.de>
Notes
Notes: svn path=/head/; revision=31962
Diffstat (limited to 'usr.sbin/ppp/slcompress.c')
-rw-r--r--usr.sbin/ppp/slcompress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/slcompress.c b/usr.sbin/ppp/slcompress.c
index 9953f34cf40e..1678531b6b18 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];