search for: c2d6264

Displaying 2 results from an estimated 2 matches for "c2d6264".

Did you mean: c2664
2016 Jan 06
0
[klibc:master] Remove obsolete getpt() function
...CTTY). Signed-off-by: H. Peter Anvin <hpa at linux.intel.com> --- usr/include/stdlib.h | 1 - usr/klibc/Kbuild | 2 +- usr/klibc/getpt.c | 16 ---------------- 3 files changed, 1 insertion(+), 18 deletions(-) diff --git a/usr/include/stdlib.h b/usr/include/stdlib.h index 856c647..c2d6264 100644 --- a/usr/include/stdlib.h +++ b/usr/include/stdlib.h @@ -83,7 +83,6 @@ static __inline__ void srandom(unsigned int __s) __extern int unlockpt(int); __extern char *ptsname(int); -__extern int getpt(void); __extern int posix_openpt(int); static __inline__ int grantpt(int __fd) diff --...
2016 Jan 27
0
[klibc:master] Make posix_openpt() an inline
...e. Signed-off-by: H. Peter Anvin <hpa at zytor.com> --- usr/include/stdlib.h | 9 ++++++++- usr/klibc/Kbuild | 2 +- usr/klibc/posix_openpt.c | 14 -------------- 3 files changed, 9 insertions(+), 16 deletions(-) diff --git a/usr/include/stdlib.h b/usr/include/stdlib.h index c2d6264..250755f 100644 --- a/usr/include/stdlib.h +++ b/usr/include/stdlib.h @@ -83,7 +83,14 @@ static __inline__ void srandom(unsigned int __s) __extern int unlockpt(int); __extern char *ptsname(int); -__extern int posix_openpt(int); + +static __inline__ int posix_openpt(int __mode) +{ + __extern int...