Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/installboot/arch Provide an empty __CTASSERT() for ...



details:   https://anonhg.NetBSD.org/src/rev/7c1b7c8e9ebe
branches:  trunk
changeset: 785887:7c1b7c8e9ebe
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Apr 04 16:11:12 2013 +0000

description:
Provide an empty __CTASSERT() for toolbuilds

diffstat:

 usr.sbin/installboot/arch/vax.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r b1c85678d111 -r 7c1b7c8e9ebe usr.sbin/installboot/arch/vax.c
--- a/usr.sbin/installboot/arch/vax.c   Thu Apr 04 13:28:57 2013 +0000
+++ b/usr.sbin/installboot/arch/vax.c   Thu Apr 04 16:11:12 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vax.c,v 1.14 2013/04/04 12:55:30 martin Exp $  */
+/*     $NetBSD: vax.c,v 1.15 2013/04/04 16:11:12 martin Exp $  */
 
 /*-
  * Copyright (c) 1999, 2002 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
 
 #include <sys/cdefs.h>
 #if !defined(__lint)
-__RCSID("$NetBSD: vax.c,v 1.14 2013/04/04 12:55:30 martin Exp $");
+__RCSID("$NetBSD: vax.c,v 1.15 2013/04/04 16:11:12 martin Exp $");
 #endif /* !__lint */
 
 #include <sys/param.h>
@@ -84,6 +84,10 @@
 
 #include "installboot.h"
 
+#ifndef __CTASSERT
+#define        __CTASSERT(X)
+#endif
+
 static int     load_bootstrap(ib_params *, char **,
                    uint32_t *, uint32_t *, size_t *);
 



Home | Main Index | Thread Index | Old Index