From 28b5a1623e59f176f53e34267832b9b6439ef60a Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Mon, 10 Sep 2007 17:29:03 +0000 Subject: Make function pointer calls look all alike; from Holger Mikolon. No change in generated code. --- sys/dev/cninit.c | 4 ++-- 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; -- cgit v1.2.3