libutil: Wrap pty.h in __{BEGIN,END}_DECLS
This commit is contained in:
parent
627d1d30e1
commit
f3c180bc25
@ -1,6 +1,6 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://refspecs.linuxbase.org/LSB_2.1.0/LSB-generic/LSB-generic/libutil.html
|
||||
TERMUX_PKG_DESCRIPTION="Library with terminal functions"
|
||||
TERMUX_PKG_VERSION=0.1
|
||||
TERMUX_PKG_VERSION=0.2
|
||||
TERMUX_PKG_BUILD_IN_SRC=yes
|
||||
|
||||
termux_step_make_install () {
|
||||
|
@ -1,12 +1,17 @@
|
||||
#ifndef _PTY_H
|
||||
#define _PTY_H
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <termios.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
int openpty(int* amaster, int* aslave, char* name, struct termios* termp, struct winsize* winp);
|
||||
|
||||
int login_tty(int fd);
|
||||
|
||||
int forkpty(int* amaster, char* name, struct termios* termp, struct winsize* winp);
|
||||
|
||||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user