From: kn Date: Wed, 12 Oct 2022 09:23:45 +0000 (+0000) Subject: Fix -Wreturn-type X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b23348987e6b5acbb3254b15d990e71aba8ebcec;p=openbsd Fix -Wreturn-type OK miod --- diff --git a/sys/arch/macppc/stand/ofdev.c b/sys/arch/macppc/stand/ofdev.c index 066403f2a41..75cabb91e80 100644 --- a/sys/arch/macppc/stand/ofdev.c +++ b/sys/arch/macppc/stand/ofdev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ofdev.c,v 1.27 2022/09/05 10:03:50 kn Exp $ */ +/* $OpenBSD: ofdev.c,v 1.28 2022/10/12 09:23:45 kn Exp $ */ /* $NetBSD: ofdev.c,v 1.1 1997/04/16 20:29:20 thorpej Exp $ */ /* @@ -127,6 +127,7 @@ devclose(struct open_file *of) OF_close(op->handle); free(op, sizeof *op); + return 0; } struct devsw devsw[1] = {