.../ofdev.c:130:1: warning: non-void function does not return a value [-Wreturn-type]
OK? Index: sys/arch/macppc/stand/ofdev.c =================================================================== RCS file: /cvs/src/sys/arch/macppc/stand/ofdev.c,v retrieving revision 1.27 diff -u -p -r1.27 ofdev.c --- sys/arch/macppc/stand/ofdev.c 5 Sep 2022 10:03:50 -0000 1.27 +++ sys/arch/macppc/stand/ofdev.c 12 Oct 2022 09:11:58 -0000 @@ -127,6 +127,7 @@ devclose(struct open_file *of) OF_close(op->handle); free(op, sizeof *op); + return 0; } struct devsw devsw[1] = {