summaryrefslogtreecommitdiff
path: root/include/pty.h
diff options
context:
space:
mode:
authorDavid McCullough <davidm@snapgear.com>2001-07-11 13:47:45 +0000
committerDavid McCullough <davidm@snapgear.com>2001-07-11 13:47:45 +0000
commitce8ee8d9b401c9c2828df3457815c2f4ceed4900 (patch)
treefc27874f9403ddfd24357f56d87d6ffe08d8ae19 /include/pty.h
parent5882811b88767f26c75913ca2b2fffd05595a7b5 (diff)
Added __BEGIN_DECLS and __END_DECLS to the files that didn't have
it and that I could see needed it. Should be pretty low impact as these are only defined when using C++.
Diffstat (limited to 'include/pty.h')
-rw-r--r--include/pty.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/pty.h b/include/pty.h
index d8550840e..7c64359d2 100644
--- a/include/pty.h
+++ b/include/pty.h
@@ -25,6 +25,7 @@
#include <termios.h>
#include <sys/ioctl.h>
+__BEGIN_DECLS
/* Create pseudo tty master slave pair with NAME and set terminal
attributes according to TERMP and WINP and return handles for both
@@ -37,4 +38,6 @@ extern int openpty (int *__amaster, int *__aslave, char *__name,
extern int forkpty (int *__amaster, char *__name,
struct termios *__termp, struct winsize *__winp);
+__END_DECLS
+
#endif /* pty.h */