Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Assume caller will add trailing ; to CFDRIVER_DECL a...



details:   https://anonhg.NetBSD.org/src/rev/d667422c5a18
branches:  trunk
changeset: 537582:d667422c5a18
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Oct 02 16:49:31 2002 +0000

description:
Assume caller will add trailing ; to CFDRIVER_DECL and CFATTACH_DECL.

diffstat:

 sys/sys/device.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2d77054633dd -r d667422c5a18 sys/sys/device.h
--- a/sys/sys/device.h  Wed Oct 02 16:49:03 2002 +0000
+++ b/sys/sys/device.h  Wed Oct 02 16:49:31 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: device.h,v 1.58 2002/10/01 18:11:58 thorpej Exp $ */
+/* $NetBSD: device.h,v 1.59 2002/10/02 16:49:31 thorpej Exp $ */
 
 /*
  * Copyright (c) 1996, 2000 Christopher G. Demetriou
@@ -231,7 +231,7 @@
 #define        CFATTACH_DECL(name, ddsize, matfn, attfn, detfn, actfn)         \
 const struct cfattach __CONCAT(name,_ca) = {                           \
        ddsize, matfn, attfn, detfn, actfn                              \
-};
+}
 
 /* Flags given to config_detach(), and the ca_detach function. */
 #define        DETACH_FORCE    0x01            /* force detachment; hardware gone */
@@ -250,7 +250,7 @@
 #define        CFDRIVER_DECL(name, class, attrs)                               \
 struct cfdriver __CONCAT(name,_cd) = {                                 \
        { }, NULL, ___STRING(name), class, 0, attrs                     \
-};
+}
 
 /*
  * Configuration printing functions, and their return codes.  The second



Home | Main Index | Thread Index | Old Index