Module Name: src Committed By: pgoyette Date: Fri Jul 22 03:40:51 UTC 2016
Modified Files: src/sys/dev [pgoyette-localcount]: cgd.c Log Message: Use correct prototype. To generate a diff of this commit: cvs rdiff -u -r1.108.2.5 -r1.108.2.6 src/sys/dev/cgd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/cgd.c diff -u src/sys/dev/cgd.c:1.108.2.5 src/sys/dev/cgd.c:1.108.2.6 --- src/sys/dev/cgd.c:1.108.2.5 Fri Jul 22 03:39:43 2016 +++ src/sys/dev/cgd.c Fri Jul 22 03:40:51 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: cgd.c,v 1.108.2.5 2016/07/22 03:39:43 pgoyette Exp $ */ +/* $NetBSD: cgd.c,v 1.108.2.6 2016/07/22 03:40:51 pgoyette Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.108.2.5 2016/07/22 03:39:43 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.108.2.6 2016/07/22 03:40:51 pgoyette Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -102,7 +102,7 @@ const struct cdevsw cgd_cdevsw = { static int cgd_match(device_t, cfdata_t, void *); static void cgd_attach(device_t, device_t, void *); static int cgd_detach(device_t, int); -static struct cgd_softc *cgd_spawn(int, *device_t); +static struct cgd_softc *cgd_spawn(int, device_t *); static int cgd_destroy(device_t); /* Internal Functions */