Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/pgoyette-localcount]: src/sys/dev Use correct prototype.



details:   https://anonhg.NetBSD.org/src/rev/d01a4f2a64e5
branches:  pgoyette-localcount
changeset: 852838:d01a4f2a64e5
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Fri Jul 22 03:40:51 2016 +0000

description:
Use correct prototype.

diffstat:

 sys/dev/cgd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 90cbe6233896 -r d01a4f2a64e5 sys/dev/cgd.c
--- a/sys/dev/cgd.c     Fri Jul 22 03:39:43 2016 +0000
+++ b/sys/dev/cgd.c     Fri Jul 22 03:40:51 2016 +0000
@@ -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 @@
 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 */



Home | Main Index | Thread Index | Old Index