forked from aniani/vim
Fix for compiler warning about function prototype in pty.c.
This commit is contained in:
parent
1b20d3d608
commit
eb80f04f6e
@ -278,8 +278,10 @@ OpenPTY(ttyn)
|
|||||||
char **ttyn;
|
char **ttyn;
|
||||||
{
|
{
|
||||||
int f;
|
int f;
|
||||||
char *m, *ptsname();
|
char *m;
|
||||||
int unlockpt __ARGS((int)), grantpt __ARGS((int));
|
char *(ptsname __ARGS((int)));
|
||||||
|
int unlockpt __ARGS((int));
|
||||||
|
int grantpt __ARGS((int));
|
||||||
RETSIGTYPE (*sigcld)__ARGS(SIGPROTOARG);
|
RETSIGTYPE (*sigcld)__ARGS(SIGPROTOARG);
|
||||||
/* used for opening a new pty-pair: */
|
/* used for opening a new pty-pair: */
|
||||||
static char TtyName[32];
|
static char TtyName[32];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user