Module Name:    src
Committed By:   martin
Date:           Mon Feb 24 07:41:15 UTC 2014

Modified Files:
        src/sys/arch/emips/stand/common: printf.c putchar.c

Log Message:
Fix missing prototypes/includes.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/emips/stand/common/printf.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/emips/stand/common/putchar.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/emips/stand/common/printf.c
diff -u src/sys/arch/emips/stand/common/printf.c:1.4 src/sys/arch/emips/stand/common/printf.c:1.5
--- src/sys/arch/emips/stand/common/printf.c:1.4	Sun Feb 23 07:49:04 2014
+++ src/sys/arch/emips/stand/common/printf.c	Mon Feb 24 07:41:15 2014
@@ -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)

Index: src/sys/arch/emips/stand/common/putchar.c
diff -u src/sys/arch/emips/stand/common/putchar.c:1.1 src/sys/arch/emips/stand/common/putchar.c:1.2
--- src/sys/arch/emips/stand/common/putchar.c:1.1	Wed Jan 26 01:18:54 2011
+++ src/sys/arch/emips/stand/common/putchar.c	Mon Feb 24 07:41:15 2014
@@ -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
  */

Reply via email to