summaryrefslogtreecommitdiff
path: root/inputmethod/sj3-lib/patches/patch-ba
blob: 0f54d40443a52fc9892205c8e216f024b87967a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ba,v 1.1 2009/10/06 17:41:49 joerg Exp $

--- sj3/nmttyslot.c.orig	2009-10-06 19:31:25.000000000 +0200
+++ sj3/nmttyslot.c
@@ -40,14 +40,13 @@
 
 
 
+#include <string.h>
+#include <unistd.h>
 
 
 
 
-
-char	*ttyname();
-char	*getttys();
-char	*strrchr();
+static char	*getttys();
 static	char	*ttys	= "/etc/ttys";
 
 #define	NULL	0