Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/emips/stand/common Fix missing prototypes/includes.



details:   https://anonhg.NetBSD.org/src/rev/2501a1377e2a
branches:  trunk
changeset: 326964:2501a1377e2a
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Feb 24 07:41:15 2014 +0000

description:
Fix missing prototypes/includes.

diffstat:

 sys/arch/emips/stand/common/printf.c  |  5 ++---
 sys/arch/emips/stand/common/putchar.c |  6 +++++-
 2 files changed, 7 insertions(+), 4 deletions(-)

diffs (39 lines):

diff -r ba28aeadd5cf -r 2501a1377e2a sys/arch/emips/stand/common/printf.c
--- a/sys/arch/emips/stand/common/printf.c      Mon Feb 24 07:23:38 2014 +0000
+++ b/sys/arch/emips/stand/common/printf.c      Mon Feb 24 07:41:15 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: printf.c,v 1.4 2014/02/23 07:49:04 martin Exp $        */
+/*     $NetBSD: printf.c,v 1.5 2014/02/24 07:41:15 martin Exp $        */
 /*-
  * Copyright (c) 1998 Robert Nordier
  * All rights reserved.
@@ -19,8 +19,7 @@
  */
 
 #include <lib/libsa/stand.h>
-
-void xputchar(int);
+#include "common.h"
 
 void
 xputchar(int ch)
diff -r ba28aeadd5cf -r 2501a1377e2a sys/arch/emips/stand/common/putchar.c
--- a/sys/arch/emips/stand/common/putchar.c     Mon Feb 24 07:23:38 2014 +0000
+++ b/sys/arch/emips/stand/common/putchar.c     Mon Feb 24 07:41:15 2014 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: putchar.c,v 1.1 2011/01/26 01:18:54 pooka Exp $       */
+/*      $NetBSD: putchar.c,v 1.2 2014/02/24 07:41:15 martin Exp $      */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -31,6 +31,10 @@
  */
 
 #include <sys/types.h>
+#include "start.h"
+#include "common.h"
+
+void   putchar(int);
 
 /* Write a character to the USART
  */



Home | Main Index | Thread Index | Old Index