summaryrefslogtreecommitdiff
path: root/x11/eterm/patches/patch-src_command.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/eterm/patches/patch-src_command.c')
-rw-r--r--x11/eterm/patches/patch-src_command.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/x11/eterm/patches/patch-src_command.c b/x11/eterm/patches/patch-src_command.c
new file mode 100644
index 00000000000..2e2c53e0537
--- /dev/null
+++ b/x11/eterm/patches/patch-src_command.c
@@ -0,0 +1,26 @@
+$NetBSD: patch-src_command.c,v 1.1 2012/12/25 21:00:00 joerg Exp $
+
+--- src/command.c.orig 2012-12-25 16:04:29.000000000 +0000
++++ src/command.c
+@@ -1387,9 +1387,7 @@ sco_get_pty(void)
+ #endif
+
+ #ifdef HAVE_DEV_PTMX
+-inline int svr_get_pty(void);
+-
+-inline int
++static int
+ svr_get_pty(void)
+ {
+
+@@ -1420,9 +1418,7 @@ svr_get_pty(void)
+ #define PTYCHAR1 "pqrstuvwxyz"
+ #define PTYCHAR2 "0123456789abcdefghijklmnopqrstuvwxyz"
+
+-inline int gen_get_pty(void);
+-
+-inline int
++static int
+ gen_get_pty(void)
+ {
+