1
0
forked from aniani/vim

Fix for compiler warning about function prototype in pty.c.

This commit is contained in:
Bram Moolenaar 2010-07-24 20:44:27 +02:00
parent 1b20d3d608
commit eb80f04f6e

View File

@ -278,8 +278,10 @@ OpenPTY(ttyn)
char **ttyn;
{
int f;
char *m, *ptsname();
int unlockpt __ARGS((int)), grantpt __ARGS((int));
char *m;
char *(ptsname __ARGS((int)));
int unlockpt __ARGS((int));
int grantpt __ARGS((int));
RETSIGTYPE (*sigcld)__ARGS(SIGPROTOARG);
/* used for opening a new pty-pair: */
static char TtyName[32];