Loading...
--- Libc/Libc-1725.40.4/include/util.h
+++ Libc/Libc-1698.100.8/include/util.h
@@ -68,8 +68,6 @@
#include <Availability.h>
_LIBC_SINGLE_BY_DEFAULT()
-#define __PTYNAMELEN 128
-#define _LIBC_PTYNAME_OR_NULL _LIBC_COUNT_OR_NULL(__PTYNAMELEN)
#define PIDLOCK_NONBLOCK 1
#define PIDLOCK_USEHOSTNAME 2
@@ -100,11 +98,10 @@
#endif /* UNIFDEF_LEGACY_UTMP_APIS */
void logwtmp(const char *, const char *, const char *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_2_0,__IPHONE_2_0);
int opendev(char *, int, int, char *_LIBC_CSTR *);
-int openpty(int *, int *, char * _LIBC_PTYNAME_OR_NULL,
- struct termios *, struct winsize *);
+int openpty(int *, int *, char *, struct termios *,
+ struct winsize *);
char *_LIBC_CSTR fparseln(FILE *, size_t *, size_t *, const char[3], int);
-pid_t forkpty(int *, char * _LIBC_PTYNAME_OR_NULL,
- struct termios *, struct winsize *);
+pid_t forkpty(int *, char *, struct termios *, struct winsize *);
int pidlock(const char *, int, pid_t *, const char *);
int ttylock(const char *, int, pid_t *);
int ttyunlock(const char *);