Skip to content

Commit

Permalink
Remove unused use of 'ttyslot'
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron1011 committed Jan 23, 2017
1 parent 80d08bb commit 216892e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/main/java/org/fusesource/jansi/internal/CLibrary.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ public static native int isatty(
public static native String ttyname(
@JniArg int filedes);

@JniMethod(conditional="defined(HAVE_TTYSLOT)")
public static native int ttyslot();

@JniMethod(conditional="defined(HAVE_OPENPTY)")
public static native int openpty(
@JniArg(cast="int *", flags={NO_IN}) int[] amaster,
Expand Down
1 change: 0 additions & 1 deletion src/main/native-package/m4/custom.m4
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ AC_DEFUN([CUSTOM_M4_SETUP],
[
AC_CHECK_LIB([c], [isatty],[AC_DEFINE([HAVE_ISATTY], [1], [Define to 1 if you have the isatty function.])])
AC_CHECK_LIB([c], [ttyname],[AC_DEFINE([HAVE_TTYNAME], [1], [Define to 1 if you have the ttyname function.])])
AC_CHECK_LIB([c], [ttyslot],[AC_DEFINE([HAVE_TTYSLOT], [1], [Define to 1 if you have the ttyslot function.])])
AC_CHECK_LIB([c], [openpty],[AC_DEFINE([HAVE_OPENPTY], [1], [Define to 1 if you have the openpty function.])])
AC_CHECK_LIB([c], [tcgetattr],[AC_DEFINE([HAVE_TCGETATTR], [1], [Define to 1 if you have the tcgetattr function.])])
AC_CHECK_LIB([c], [tcsetattr],[AC_DEFINE([HAVE_TCSETATTR], [1], [Define to 1 if you have the tcsetattr function.])])
Expand Down

0 comments on commit 216892e

Please sign in to comment.