diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-09-10 17:29:03 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-09-10 17:29:03 +0000 |
commit | 28b5a1623e59f176f53e34267832b9b6439ef60a (patch) | |
tree | 61af02ca712e2dbb8bee230c495695cd74421c01 | |
parent | 455ffcb316c78b76deb2cd84ab2097058f76653c (diff) |
Make function pointer calls look all alike; from Holger Mikolon.
No change in generated code.
-rw-r--r-- | sys/dev/cninit.c | 4 | ||||
-rw-r--r-- | sys/lib/libsa/cons.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/cninit.c b/sys/dev/cninit.c index 983eb6385e1..1b4580d3baa 100644 --- a/sys/dev/cninit.c +++ b/sys/dev/cninit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cninit.c,v 1.6 2003/06/02 23:28:01 millert Exp $ */ +/* $OpenBSD: cninit.c,v 1.7 2007/09/10 17:29:00 miod Exp $ */ /* $NetBSD: cninit.c,v 1.2 1995/04/11 22:08:10 pk Exp $ */ /* @@ -96,7 +96,7 @@ cnset(dev) cn_tab = cp; cp->cn_dev = dev; /* Turn it on. */ - (cp->cn_init)(cp); + (*cp->cn_init)(cp); return (0); } break; diff --git a/sys/lib/libsa/cons.c b/sys/lib/libsa/cons.c index 700d9acf0f5..d5869f4edc3 100644 --- a/sys/lib/libsa/cons.c +++ b/sys/lib/libsa/cons.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cons.c,v 1.11 2003/08/11 06:23:09 deraadt Exp $ */ +/* $OpenBSD: cons.c,v 1.12 2007/09/10 17:29:02 miod Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -87,7 +87,7 @@ cnset(dev_t dev) cn_tab = cp; cp->cn_dev = dev; /* Turn it on. */ - (cp->cn_init)(cp); + (*cp->cn_init)(cp); return (0); } break; |