summaryrefslogtreecommitdiff
path: root/libutil/forkpty.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-16 21:39:33 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-16 21:39:33 +0000
commit6f2aa010fb0606d74907077e6004193046cffa08 (patch)
tree915e5ec61725395960678b83ea5aa93c007aeeaf /libutil/forkpty.c
parentf3bd16bc0f9ebad95f8d7ed5a8023083ef2258ef (diff)
Convert to hidden_def
Diffstat (limited to 'libutil/forkpty.c')
-rw-r--r--libutil/forkpty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libutil/forkpty.c b/libutil/forkpty.c
index 6843221cd..572c22200 100644
--- a/libutil/forkpty.c
+++ b/libutil/forkpty.c
@@ -17,15 +17,15 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#define openpty __openpty
-#define login_tty __login_tty
-
#include <sys/types.h>
#include <termios.h>
#include <unistd.h>
#include <utmp.h>
#include <pty.h>
+libutil_hidden_proto(openpty)
+libutil_hidden_proto(login_tty)
+
int
forkpty (amaster, name, termp, winp)
int *amaster;