Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/s3c2xx0 Exclude sscom_init() prototype definiti...
details: https://anonhg.NetBSD.org/src/rev/0cd26e9f61d0
branches: trunk
changeset: 327763:0cd26e9f61d0
user: reinoud <reinoud%NetBSD.org@localhost>
date: Sun Mar 16 11:36:26 2014 +0000
description:
Exclude sscom_init() prototype definition when its not declared later
diffstat:
sys/arch/arm/s3c2xx0/sscom.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r cb963e5ae619 -r 0cd26e9f61d0 sys/arch/arm/s3c2xx0/sscom.c
--- a/sys/arch/arm/s3c2xx0/sscom.c Sun Mar 16 10:28:03 2014 +0000
+++ b/sys/arch/arm/s3c2xx0/sscom.c Sun Mar 16 11:36:26 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sscom.c,v 1.42 2014/03/16 05:20:23 dholland Exp $ */
+/* $NetBSD: sscom.c,v 1.43 2014/03/16 11:36:26 reinoud Exp $ */
/*
* Copyright (c) 2002, 2003 Fujitsu Component Limited
@@ -98,7 +98,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sscom.c,v 1.42 2014/03/16 05:20:23 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sscom.c,v 1.43 2014/03/16 11:36:26 reinoud Exp $");
#include "opt_sscom.h"
#include "opt_ddb.h"
@@ -186,8 +186,10 @@
static void sscom_iflush(struct sscom_softc *);
static int sscomhwiflow(struct tty *tp, int block);
+#if defined(KGDB) || defined(SSCOM0CONSOLE) || defined(SSCOM1CONSOLE)
static int sscom_init(bus_space_tag_t, const struct sscom_uart_info *,
int, int, tcflag_t, bus_space_handle_t *);
+#endif
extern struct cfdriver sscom_cd;
Home |
Main Index |
Thread Index |
Old Index